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

Unified Diff: net/third_party/nss/ssl/ssl3prot.h

Issue 9764001: Add DTLS support to NSS, contributed by Eric Rescorla. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Made a second pass, reviewed dtls1con.c only for coding style Created 8 years, 9 months 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
Index: net/third_party/nss/ssl/ssl3prot.h
===================================================================
--- net/third_party/nss/ssl/ssl3prot.h (revision 127709)
+++ net/third_party/nss/ssl/ssl3prot.h (working copy)
@@ -61,6 +61,9 @@
#define SSL3_RECORD_HEADER_LENGTH 5
+/* SSL3_RECORD_HEADER_LENGTH + epoch/sequence_number */
+#define DTLS_RECORD_HEADER_LENGTH 13
+
#define MAX_FRAGMENT_LENGTH 16384
typedef enum {
@@ -150,6 +153,7 @@
hello_request = 0,
client_hello = 1,
server_hello = 2,
+ hello_verify_request = 3,
new_session_ticket = 4,
certificate = 11,
server_key_exchange = 12,

Powered by Google App Engine
This is Rietveld 408576698