summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-26 16:39:03 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-26 16:40:06 +0200
commitebac690f3ac6690e4a03935c2b1d2a0fdc02f7cd (patch)
tree06523de8bd03691a1298a6a89900179d996dfb7f
parent1bcc08a95046de450b18b3a0bb4f110d1f6b522e (diff)
downloadgnutls-ebac690f3ac6690e4a03935c2b1d2a0fdc02f7cd.tar.gz
renamed NULL MAC to MAC-NULL to prevent clash with NULL cipher.
-rw-r--r--NEWS6
-rw-r--r--lib/gnutls_algorithms.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 4ffc8c6065..d4c811b079 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,12 @@ Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
See the end for copying conditions.
+* Version 2.10.2 (unreleased)
+
+** libgnutls: Renamed NULL MAC to MAC-NULL to prevent clash with NULL
+cipher. This prevented the usage of the TLS ciphersuites with NULL
+cipher.
+
* Version 2.10.1 (released 2010-07-25)
** libgnutls: Added support for broken certificates that indicate RSA
diff --git a/lib/gnutls_algorithms.c b/lib/gnutls_algorithms.c
index aacbe3410c..1c1e0b2af9 100644
--- a/lib/gnutls_algorithms.c
+++ b/lib/gnutls_algorithms.c
@@ -236,7 +236,7 @@ static const gnutls_hash_entry hash_algorithms[] = {
{"SHA512", HASH_OID_SHA512, GNUTLS_MAC_SHA512, 64},
{"MD2", HASH_OID_MD2, GNUTLS_MAC_MD2, 0}, /* not used as MAC */
{"RIPEMD160", HASH_OID_RMD160, GNUTLS_MAC_RMD160, 20},
- {"NULL", NULL, GNUTLS_MAC_NULL, 0},
+ {"MAC-NULL", NULL, GNUTLS_MAC_NULL, 0},
{0, 0, 0, 0}
};