author | Edouard Tisserant <edouard@pep-project.org> |
Thu, 21 Sep 2017 18:36:48 +0200 | |
changeset 2090 | d32a42588565 |
parent 2088 | 6e0756ac5b2a |
child 2091 | 3699a1602da7 |
child 2094 | c9f59ec9b192 |
child 2098 | 81fada0a9b12 |
src/pgp_gpg.c | file | annotate | diff | revisions |
1.1 --- a/src/pgp_gpg.c Thu Sep 21 16:42:50 2017 +0200 1.2 +++ b/src/pgp_gpg.c Thu Sep 21 18:36:48 2017 +0200 1.3 @@ -1833,7 +1833,7 @@ 1.4 } while (gpgme_error != GPG_ERR_EOF); 1.5 1.6 gpg.gpgme_op_keylist_end(session->ctx); 1.7 - if (_keylist->value == NULL) { 1.8 + if (_keylist->value == NULL && pattern != NULL) { 1.9 free_stringlist(_keylist); 1.10 _keylist = NULL; 1.11