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

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

Issue 595823003: Merge the server-side support of ALPN from the NSS upstream. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
OLDNEW
1 /* Private header file of libSSL. 1 /* Private header file of libSSL.
2 * Various and sundry protocol constants. DON'T CHANGE THESE. These 2 * Various and sundry protocol constants. DON'T CHANGE THESE. These
3 * values are defined by the SSL 3.0 protocol specification. 3 * values are defined by the SSL 3.0 protocol specification.
4 * 4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public 5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this 6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 7 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 8
9 #ifndef __ssl3proto_h_ 9 #ifndef __ssl3proto_h_
10 #define __ssl3proto_h_ 10 #define __ssl3proto_h_
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 internal_error = 80, 100 internal_error = 80,
101 inappropriate_fallback = 86, /* could also be sent for SSLv3 */ 101 inappropriate_fallback = 86, /* could also be sent for SSLv3 */
102 user_canceled = 90, 102 user_canceled = 90,
103 no_renegotiation = 100, 103 no_renegotiation = 100,
104 104
105 /* Alerts for client hello extensions */ 105 /* Alerts for client hello extensions */
106 unsupported_extension = 110, 106 unsupported_extension = 110,
107 certificate_unobtainable = 111, 107 certificate_unobtainable = 111,
108 unrecognized_name = 112, 108 unrecognized_name = 112,
109 bad_certificate_status_response = 113, 109 bad_certificate_status_response = 113,
110 bad_certificate_hash_value = 114 110 bad_certificate_hash_value = 114,
111 no_application_protocol = 120
111 112
112 } SSL3AlertDescription; 113 } SSL3AlertDescription;
113 114
114 typedef struct { 115 typedef struct {
115 SSL3AlertLevel level; 116 SSL3AlertLevel level;
116 SSL3AlertDescription description; 117 SSL3AlertDescription description;
117 } SSL3Alert; 118 } SSL3Alert;
118 119
119 typedef enum { 120 typedef enum {
120 hello_request = 0, 121 hello_request = 0,
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 unsigned char *iv; 356 unsigned char *iv;
356 SECItem encrypted_state; 357 SECItem encrypted_state;
357 unsigned char *mac; 358 unsigned char *mac;
358 } EncryptedSessionTicket; 359 } EncryptedSessionTicket;
359 360
360 #define TLS_EX_SESS_TICKET_MAC_LENGTH 32 361 #define TLS_EX_SESS_TICKET_MAC_LENGTH 32
361 362
362 #define TLS_STE_NO_SERVER_NAME -1 363 #define TLS_STE_NO_SERVER_NAME -1
363 364
364 #endif /* __ssl3proto_h_ */ 365 #endif /* __ssl3proto_h_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698