2002-05-22 Marcus Brinkmann <marcus@gnu.org>

* engine-gpgsm.c (_gpgme_gpgsm_op_keylist_ext): Fix last change.
This commit is contained in:
Marcus Brinkmann 2002-05-22 01:22:57 +00:00
parent 1721e91c88
commit cec2c916bb
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-05-22 Marcus Brinkmann <marcus@gnu.org>
* engine-gpgsm.c (_gpgme_gpgsm_op_keylist_ext): Fix last change.
2002-05-21 Werner Koch <wk@gnupg.org>
* engine-gpgsm.c (_gpgme_gpgsm_op_keylist)

View File

@ -754,10 +754,11 @@ _gpgme_gpgsm_op_keylist_ext (GpgsmObject gpgsm, const char *pattern[],
int secret_only, int reserved, int keylist_mode)
{
char *line;
GpgmeError err;
/* Length is "LISTSECRETKEYS " + p + '\0'. */
int length = 15 + 1;
char *linep;
if (reserved)
return mk_error (Invalid_Value);