2002-04-05 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Thu, 4 Apr 2002 22:22:56 +0000 (22:22 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Thu, 4 Apr 2002 22:22:56 +0000 (22:22 +0000)
* gpgsm/t-keylist.c (main): Use gpgme_engine_check_version instead
gpgme_check_engine.
* gpgsm/t-encrypt.c (main): Likewise.

trunk/tests/ChangeLog
trunk/tests/gpgsm/t-encrypt.c
trunk/tests/gpgsm/t-keylist.c

index 6cee9803e1ade0792a0576d5687ef2dfb31811af..49180bcf2ed75d8bd7245b546f191eb9dd748e8a 100644 (file)
@@ -1,3 +1,9 @@
+2002-04-05  Marcus Brinkmann  <marcus@g10code.de>
+
+       * 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  <marcus@g10code.de>
 
        * gpg/t-encrypt-sym.c: New file.
index 7b848d3d554da10c76ed4b791bf8b0ec888a1298..bec71ebd9a7f3dbf20356b0c7ab5e5796747901c 100644 (file)
@@ -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() );
 
index 7aafd8496f63d61233e69b1b6d12f386eb8fcb3c..21fca7c2af10f76c3dbcad602f9a369e347d5cc9 100644 (file)
@@ -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);