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:
parent
8f2ab92657
commit
9f4af70d4b
@ -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>
|
2002-03-06 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
* gpg/t-encrypt-sym.c: New file.
|
* gpg/t-encrypt-sym.c: New file.
|
||||||
|
@ -72,7 +72,7 @@ main (int argc, char **argv )
|
|||||||
GpgmeData in, out;
|
GpgmeData in, out;
|
||||||
GpgmeRecipients rset;
|
GpgmeRecipients rset;
|
||||||
|
|
||||||
err = gpgme_check_engine ();
|
err = gpgme_engine_check_version (GPGME_PROTOCOL_CMS);
|
||||||
fail_if_err (err);
|
fail_if_err (err);
|
||||||
puts ( gpgme_get_engine_info() );
|
puts ( gpgme_get_engine_info() );
|
||||||
|
|
||||||
|
@ -135,7 +135,7 @@ main (int argc, char **argv )
|
|||||||
GpgmeError err;
|
GpgmeError err;
|
||||||
int loop = 0;
|
int loop = 0;
|
||||||
const char *pattern;
|
const char *pattern;
|
||||||
|
|
||||||
if( argc ) {
|
if( argc ) {
|
||||||
argc--; argv++;
|
argc--; argv++;
|
||||||
}
|
}
|
||||||
@ -146,7 +146,7 @@ main (int argc, char **argv )
|
|||||||
}
|
}
|
||||||
pattern = argc? *argv : NULL;
|
pattern = argc? *argv : NULL;
|
||||||
|
|
||||||
err = gpgme_check_engine();
|
err = gpgme_engine_check_version (GPGME_PROTOCOL_CMS);
|
||||||
fail_if_err (err);
|
fail_if_err (err);
|
||||||
|
|
||||||
err = gpgme_new (&ctx);
|
err = gpgme_new (&ctx);
|
||||||
|
Loading…
Reference in New Issue
Block a user