From 4a6e3ecbc4db2464a2a17aad558ede9fcd600a54 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Thu, 4 Apr 2002 22:22:56 +0000 Subject: [PATCH] 2002-04-05 Marcus Brinkmann * gpgsm/t-keylist.c (main): Use gpgme_engine_check_version instead gpgme_check_engine. * gpgsm/t-encrypt.c (main): Likewise. --- trunk/tests/ChangeLog | 6 ++++++ trunk/tests/gpgsm/t-encrypt.c | 2 +- trunk/tests/gpgsm/t-keylist.c | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/trunk/tests/ChangeLog b/trunk/tests/ChangeLog index 6cee980..49180bc 100644 --- a/trunk/tests/ChangeLog +++ b/trunk/tests/ChangeLog @@ -1,3 +1,9 @@ +2002-04-05 Marcus Brinkmann + + * gpgsm/t-keylist.c (main): Use gpgme_engine_check_version instead + gpgme_check_engine. + * gpgsm/t-encrypt.c (main): Likewise. + 2002-03-06 Marcus Brinkmann * gpg/t-encrypt-sym.c: New file. diff --git a/trunk/tests/gpgsm/t-encrypt.c b/trunk/tests/gpgsm/t-encrypt.c index 7b848d3..bec71eb 100644 --- a/trunk/tests/gpgsm/t-encrypt.c +++ b/trunk/tests/gpgsm/t-encrypt.c @@ -72,7 +72,7 @@ main (int argc, char **argv ) GpgmeData in, out; GpgmeRecipients rset; - err = gpgme_check_engine (); + err = gpgme_engine_check_version (GPGME_PROTOCOL_CMS); fail_if_err (err); puts ( gpgme_get_engine_info() ); diff --git a/trunk/tests/gpgsm/t-keylist.c b/trunk/tests/gpgsm/t-keylist.c index 7aafd84..21fca7c 100644 --- a/trunk/tests/gpgsm/t-keylist.c +++ b/trunk/tests/gpgsm/t-keylist.c @@ -135,7 +135,7 @@ main (int argc, char **argv ) GpgmeError err; int loop = 0; const char *pattern; - + if( argc ) { argc--; argv++; } @@ -146,7 +146,7 @@ main (int argc, char **argv ) } pattern = argc? *argv : NULL; - err = gpgme_check_engine(); + err = gpgme_engine_check_version (GPGME_PROTOCOL_CMS); fail_if_err (err); err = gpgme_new (&ctx); -- 2.26.2