[SCM] GNU gnutls branch, gnutls_3_0_x-2, updated. gnutls_3_0_19-47-g4f5ef62
"Nikos Mavrogiannopoulos" <[email protected]>
| Newsgroups | gmane.comp.encryption.gpg.gnutls.cvs |
|---|---|
| Message-ID | <[email protected]> |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gnutls".
http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=4f5ef6219ee371a1f70d13fe4dd14a25377da075
The branch, gnutls_3_0_x-2 has been updated
via 4f5ef6219ee371a1f70d13fe4dd14a25377da075 (commit)
from e67121a3f3abaf8b3e81605fc0d3d8d4e8035cf4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4f5ef6219ee371a1f70d13fe4dd14a25377da075
Author: Nikos Mavrogiannopoulos <[email protected]>
Date: Sun Jun 3 13:33:16 2012 +0200
fixes in openpgp certificate verification.
-----------------------------------------------------------------------
Summary of changes:
lib/openpgp/pgpverify.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/lib/openpgp/pgpverify.c b/lib/openpgp/pgpverify.c
index 4835462..ca3be6e 100644
--- a/lib/openpgp/pgpverify.c
+++ b/lib/openpgp/pgpverify.c
@@ -106,8 +106,11 @@ gnutls_openpgp_crt_verify_ring (gnutls_openpgp_crt_t key,
rc = gnutls_openpgp_keyring_check_id (keyring, id, 0);
/* If it exists in the keyring don't treat it as unknown. */
if (rc == 0 && *verify & GNUTLS_CERT_SIGNER_NOT_FOUND)
- *verify ^= GNUTLS_CERT_SIGNER_NOT_FOUND;
+ *verify &= ~GNUTLS_CERT_SIGNER_NOT_FOUND;
}
+
+ if (*verify != 0)
+ *verify |= GNUTLS_CERT_INVALID;
return 0;
}
hooks/post-receive
--
GNU gnutls