diff --git a/tests/ChangeLog b/tests/ChangeLog index 6cee9803..49180bcf 100644 --- a/tests/ChangeLog +++ b/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/tests/gpgsm/t-encrypt.c b/tests/gpgsm/t-encrypt.c index 7b848d3d..bec71ebd 100644 --- a/tests/gpgsm/t-encrypt.c +++ b/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/tests/gpgsm/t-keylist.c b/tests/gpgsm/t-keylist.c index 7aafd849..21fca7c2 100644 --- a/tests/gpgsm/t-keylist.c +++ b/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);