[SCM] GNU gnutls branch, gnutls_2_12_x, updated. gnutls_2_12_14a-4-g8ae99fc
"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=8ae99fccea4c651cd2388b22806eef1d25d3793a
The branch, gnutls_2_12_x has been updated
via 8ae99fccea4c651cd2388b22806eef1d25d3793a (commit)
from 555766063e08fc675b88e06560f79456c4ba4f24 (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 8ae99fccea4c651cd2388b22806eef1d25d3793a
Author: Nikos Mavrogiannopoulos <[email protected]>
Date: Thu Jan 5 15:14:46 2012 +0100
minor update to the fix.
-----------------------------------------------------------------------
Summary of changes:
lib/ext_signature.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/lib/ext_signature.c b/lib/ext_signature.c
index e8d8560..dca222f 100644
--- a/lib/ext_signature.c
+++ b/lib/ext_signature.c
@@ -150,12 +150,13 @@ _gnutls_sign_algorithm_parse_data (gnutls_session_t session,
_gnutls_debug_log ("EXT[SIGA]: rcvd signature algo (%d.%d) %s\n", aid.hash_algorithm,
aid.sign_algorithm, gnutls_sign_get_name(sig));
- hash = _gnutls_sign_get_hash_algorithm(sig);
- if (hash != GNUTLS_DIG_SHA1 && hash != GNUTLS_DIG_SHA256)
- continue;
if (sig != GNUTLS_SIGN_UNKNOWN)
{
+ hash = _gnutls_sign_get_hash_algorithm(sig);
+ if (hash != GNUTLS_DIG_SHA1 && hash != GNUTLS_DIG_SHA256)
+ continue;
+
priv->sign_algorithms[priv->sign_algorithms_size++] = sig;
if (priv->sign_algorithms_size == MAX_SIGNATURE_ALGORITHMS)
break;
hooks/post-receive
--
GNU gnutls