diff options
Diffstat (limited to 'gpgme/keylist.c')
-rw-r--r-- | gpgme/keylist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpgme/keylist.c b/gpgme/keylist.c index 99499de5..eb8597e2 100644 --- a/gpgme/keylist.c +++ b/gpgme/keylist.c @@ -838,7 +838,7 @@ gpgme_get_key (gpgme_ctx_t ctx, const char *fpr, gpgme_key_t *r_key, gpgme_error_t err; gpgme_key_t key; - if (!ctx || !r_key) + if (!ctx || !r_key || !fpr) return gpg_error (GPG_ERR_INV_VALUE); if (strlen (fpr) < 16) /* We have at least a key ID. */ |