summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--lib/gnutls_cipher.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index e9238b6fbb..883b806160 100644
--- a/NEWS
+++ b/NEWS
@@ -20,7 +20,7 @@ in a template from an RFC4514 string.
** libgnutls: DN variable 'T' was expanded to 'title'.
** libgnutls: Fixes in record padding parsing to prevent a timing attack.
-Issue reported by Kenny Patterson and Nadhem Alfardan.
+Issue reported by Kenny Paterson and Nadhem Alfardan.
** libgnutls: Added functions to directly set the DN in a certificate
or request from an RFC4514 string.
@@ -41,7 +41,7 @@ buffering in sending application data.
** libgnutls: Removed default random padding, and added a length-hiding interface
instead. Both the server and the client must support this extension. Whether
length-hiding can be used on a given session can be checked using
-gnutls_record_can_use_length_hiding().
+gnutls_record_can_use_length_hiding(). Contributed by Alfredo Pironti.
** libgnutls: Added the experimental %NEW_PADDING priority string. It enables
a new padding mechanism in TLS allowing arbitrary padding in TLS records
diff --git a/lib/gnutls_cipher.c b/lib/gnutls_cipher.c
index 1f6a489d21..1a70a10023 100644
--- a/lib/gnutls_cipher.c
+++ b/lib/gnutls_cipher.c
@@ -599,7 +599,7 @@ static void dummy_wait(record_parameters_st * params, gnutls_datum_t* plaintext,
/* this hack is only needed on CBC ciphers */
if (_gnutls_cipher_is_block (params->cipher_algorithm) == CIPHER_BLOCK)
{
- uint16_t len;
+ unsigned len;
/* force an additional hash compression function evaluation to prevent timing
* attacks that distinguish between wrong-mac + correct pad, from wrong-mac + incorrect pad.