From: Marcus Brinkmann Date: Thu, 4 Apr 2002 22:22:56 +0000 (+0000) Subject: 2002-04-05 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~1025 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4a6e3ecbc4db2464a2a17aad558ede9fcd600a54;p=gpgme.git 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. --- 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);