From 9f4af70d4bc2b83f681c2ba76a2847792e667275 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. --- tests/ChangeLog | 6 ++++++ tests/gpgsm/t-encrypt.c | 2 +- tests/gpgsm/t-keylist.c | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/tests/ChangeLog b/tests/ChangeLog index 6cee980..49180bc 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 7b848d3..bec71eb 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 7aafd84..21fca7c 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); -- 2.26.2