1
Origin: http://cvs.openssl.org/chngview?cn=21940
2
Subject: Clear bytes used for block padding of SSL 3.0 records.
6
[Ubuntu note: modification to CHANGES file has been dropped to reduce
11
1 file changed, 3 insertions(+)
14
===================================================================
17
@@ -480,6 +480,9 @@ int ssl3_enc(SSL *s, int send)
19
/* we need to add 'i-1' padding bytes */
21
+ /* the last of these zero bytes will be overwritten
22
+ * with the padding length. */
23
+ memset(&rec->input[rec->length], 0, i);
25
rec->input[l-1]=(i-1);