Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1413)

Unified Diff: net/third_party/nss/ssl/ssl3ext.c

Issue 99253006: Fill the TLS padding extension with zero bytes instead of spaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/third_party/nss/patches/paddingextension.patch ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/third_party/nss/ssl/ssl3ext.c
===================================================================
--- net/third_party/nss/ssl/ssl3ext.c (revision 238214)
+++ net/third_party/nss/ssl/ssl3ext.c (working copy)
@@ -2367,7 +2367,7 @@
return -1;
if (SECSuccess != ssl3_AppendHandshakeNumber(ss, paddingLen, 2))
return -1;
- memset(padding, ' ', paddingLen);
+ memset(padding, 0, paddingLen);
if (SECSuccess != ssl3_AppendHandshake(ss, padding, paddingLen))
return -1;
« no previous file with comments | « net/third_party/nss/patches/paddingextension.patch ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698