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

Side by Side Diff: net/third_party/nss/ssl/sslt.h

Issue 7003069: Remove the TLS Snap Start code from NSS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/third_party/nss/ssl/sslsock.c ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file contains prototypes for the public SSL functions. 2 * This file contains prototypes for the public SSL functions.
3 * 3 *
4 * ***** BEGIN LICENSE BLOCK ***** 4 * ***** BEGIN LICENSE BLOCK *****
5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
6 * 6 *
7 * The contents of this file are subject to the Mozilla Public License Version 7 * The contents of this file are subject to the Mozilla Public License Version
8 * 1.1 (the "License"); you may not use this file except in compliance with 8 * 1.1 (the "License"); you may not use this file except in compliance with
9 * the License. You may obtain a copy of the License at 9 * the License. You may obtain a copy of the License at
10 * http://www.mozilla.org/MPL/ 10 * http://www.mozilla.org/MPL/
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 /* Update SSL_MAX_EXTENSIONS whenever a new extension type is added. */ 198 /* Update SSL_MAX_EXTENSIONS whenever a new extension type is added. */
199 typedef enum { 199 typedef enum {
200 ssl_server_name_xtn = 0, 200 ssl_server_name_xtn = 0,
201 ssl_cert_status_xtn = 5, 201 ssl_cert_status_xtn = 5,
202 #ifdef NSS_ENABLE_ECC 202 #ifdef NSS_ENABLE_ECC
203 ssl_elliptic_curves_xtn = 10, 203 ssl_elliptic_curves_xtn = 10,
204 ssl_ec_point_formats_xtn = 11, 204 ssl_ec_point_formats_xtn = 11,
205 #endif 205 #endif
206 ssl_session_ticket_xtn = 35, 206 ssl_session_ticket_xtn = 35,
207 ssl_next_proto_neg_xtn = 13172, 207 ssl_next_proto_neg_xtn = 13172,
208 ssl_snap_start_xtn = 13174,
209 ssl_renegotiation_info_xtn = 0xff01 /* experimental number */ 208 ssl_renegotiation_info_xtn = 0xff01 /* experimental number */
210 } SSLExtensionType; 209 } SSLExtensionType;
211 210
212 #define SSL_MAX_EXTENSIONS 8 211 #define SSL_MAX_EXTENSIONS 7
213
214 typedef enum {
215 /* No Snap Start handshake was attempted. */
216 SSL_SNAP_START_NONE = 0,
217 /* A Snap Start full handshake was completed. */
218 SSL_SNAP_START_FULL = 1,
219 /* A Snap Start full handshake was attempted, but failed. */
220 SSL_SNAP_START_RECOVERY = 2,
221 /* A Snap Start resume handshake was completed. */
222 SSL_SNAP_START_RESUME = 3,
223 /* A Snap Start resume handshake was attempted, but failed. */
224 SSL_SNAP_START_RESUME_RECOVERY = 4
225 } SSLSnapStartResult;
226 212
227 #endif /* __sslt_h_ */ 213 #endif /* __sslt_h_ */
OLDNEW
« no previous file with comments | « net/third_party/nss/ssl/sslsock.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698