projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfe7f78
)
Fix useless call to gpg_err_code for sig->validity
author
Colin Leroy
<colin@colino.net>
Thu, 24 Oct 2013 19:49:19 +0000
(21:49 +0200)
committer
Colin Leroy
<colin@colino.net>
Thu, 24 Oct 2013 19:49:19 +0000
(21:49 +0200)
src/plugins/pgpcore/sgpgme.c
patch
|
blob
|
history
diff --git
a/src/plugins/pgpcore/sgpgme.c
b/src/plugins/pgpcore/sgpgme.c
index a2d7fa38a468e53072f9d81d83b100e4d98effef..77c0774e6a625a98d969f67a3a455bd372fe1d9a 100644
(file)
--- a/
src/plugins/pgpcore/sgpgme.c
+++ b/
src/plugins/pgpcore/sgpgme.c
@@
-106,7
+106,7
@@
SignatureStatus sgpgme_sigstat_gpgme_to_privacy(gpgme_ctx_t ctx, gpgme_verify_re
debug_print("err code %d\n", gpg_err_code(sig->status));
switch (gpg_err_code(sig->status)) {
case GPG_ERR_NO_ERROR:
- switch (
gpg_err_code(sig->validity)
) {
+ switch (
sig->validity
) {
case GPGME_VALIDITY_NEVER:
return SIGNATURE_INVALID;
case GPGME_VALIDITY_UNKNOWN: