Index: net/third_party/nss/ssl/sslproto.h |
=================================================================== |
--- net/third_party/nss/ssl/sslproto.h (revision 127709) |
+++ net/third_party/nss/ssl/sslproto.h (working copy) |
@@ -49,10 +49,15 @@ |
#define SSL_LIBRARY_VERSION_3_0 0x0300 |
#define SSL_LIBRARY_VERSION_TLS_1_0 0x0301 |
#define SSL_LIBRARY_VERSION_TLS_1_1 0x0302 |
+/* Note: this is the internal format, not the wire format */ |
+#define SSL_LIBRARY_VERSION_DTLS_1_0 0x0302 |
/* deprecated old name */ |
#define SSL_LIBRARY_VERSION_3_1_TLS SSL_LIBRARY_VERSION_TLS_1_0 |
+/* The DTLS version used in the spec */ |
+#define SSL_LIBRARY_VERSION_DTLS_1_0_WIRE ((~0x0100) & 0xffff) |
+ |
/* Header lengths of some of the messages */ |
#define SSL_HL_ERROR_HBYTES 3 |
#define SSL_HL_CLIENT_HELLO_HBYTES 9 |