diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-02-04 11:00:22 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-02-04 11:10:48 +0100 |
commit | b8391806cd79095fe566f2401d8c7ad85a64b198 (patch) | |
tree | 0739d1c26e1d5684869bb5aff87be0416540a36b | |
parent | 228a0ad5a1b4389bc43f13aa07237652f01316e9 (diff) | |
download | gnutls-b8391806cd79095fe566f2401d8c7ad85a64b198.tar.gz |
updategnutls_3_1_7
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | lib/gnutls_cipher.c | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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. |