projects
/
gpgme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
162ebc3
)
(gpgme_get_key): Return an error if FPR is NULL.
author
Werner Koch
<wk@gnupg.org>
Thu, 15 Apr 2004 15:18:30 +0000
(15:18 +0000)
committer
Werner Koch
<wk@gnupg.org>
Thu, 15 Apr 2004 15:18:30 +0000
(15:18 +0000)
gpgme/ChangeLog
patch
|
blob
|
history
gpgme/keylist.c
patch
|
blob
|
history
diff --git
a/gpgme/ChangeLog
b/gpgme/ChangeLog
index 26c463084087682ad36e939743c8f00f573a390b..94e407fc43a8e1cdc289a44431a60bff86bf6dbe 100644
(file)
--- a/
gpgme/ChangeLog
+++ b/
gpgme/ChangeLog
@@
-1,3
+1,7
@@
+2004-04-15 Werner Koch <wk@gnupg.org>
+
+ * keylist.c (gpgme_get_key): Return an error if FPR is NULL.
+
2004-04-08 Werner Koch <wk@gnupg.org>
* verify.c (_gpgme_verify_status_handler): Ignore the error status
diff --git
a/gpgme/keylist.c
b/gpgme/keylist.c
index 99499de55476445c9b61ec74e21387a72f38ed44..eb8597e2bb1372aec797cdabcf2cdf3b0bec1da0 100644
(file)
--- 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. */