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.
This commit is contained in:
Marcus Brinkmann 2002-04-04 22:22:56 +00:00
parent 8f2ab92657
commit 9f4af70d4b
3 changed files with 9 additions and 3 deletions

View 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.

View 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() );

View 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);