From 4c57c6306235e566f1738cfb7edf582e824b31c6 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 13 Sep 2012 14:22:08 +0200 Subject: Added possibility to register custom proposal keywords Keyword lookup and registration are handled via the new lib->proposal object. --- src/scepclient/scepclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/scepclient/scepclient.c') diff --git a/src/scepclient/scepclient.c b/src/scepclient/scepclient.c index 2444080a1..78b0d7e7a 100644 --- a/src/scepclient/scepclient.c +++ b/src/scepclient/scepclient.c @@ -828,7 +828,7 @@ int main(int argc, char **argv) if (strcaseeq("enc", type)) { - token = proposal_get_token(algo); + token = lib->proposal->get_token(lib->proposal, algo); if (token == NULL || token->type != ENCRYPTION_ALGORITHM) { usage("invalid algorithm specified"); @@ -846,7 +846,7 @@ int main(int argc, char **argv) { hash_algorithm_t hash; - token = proposal_get_token(algo); + token = lib->proposal->get_token(lib->proposal, algo); if (token == NULL || token->type != INTEGRITY_ALGORITHM) { usage("invalid algorithm specified"); -- cgit v1.2.3