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

Side by Side Diff: openssl/include/openssl/tls1.h

Issue 112933006: OpenSSL: add support for the TLS padding extension. Base URL: https://chromium.googlesource.com/chromium/deps/openssl.git@master
Patch Set: Add comments at ClientHello construction sites 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 unified diff | Download patch
« no previous file with comments | « no previous file | openssl/openssl.config » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* ssl/tls1.h */ 1 /* ssl/tls1.h */
2 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * This package is an SSL implementation written 5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com). 6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL. 7 * The implementation was written so as to conform with Netscapes SSL.
8 * 8 *
9 * This library is free for commercial and non-commercial use as long as 9 * This library is free for commercial and non-commercial use as long as
10 * the following conditions are aheared to. The following conditions 10 * the following conditions are aheared to. The following conditions
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 #define TLSEXT_TYPE_renegotiate 0xff01 244 #define TLSEXT_TYPE_renegotiate 0xff01
245 245
246 #ifndef OPENSSL_NO_NEXTPROTONEG 246 #ifndef OPENSSL_NO_NEXTPROTONEG
247 /* This is not an IANA defined extension number */ 247 /* This is not an IANA defined extension number */
248 #define TLSEXT_TYPE_next_proto_neg 13172 248 #define TLSEXT_TYPE_next_proto_neg 13172
249 #endif 249 #endif
250 250
251 /* This is not an IANA defined extension number */ 251 /* This is not an IANA defined extension number */
252 #define TLSEXT_TYPE_channel_id 30031 252 #define TLSEXT_TYPE_channel_id 30031
253 253
254 /* See https://tools.ietf.org/html/draft-agl-tls-padding-02
255 * Number not yet IANA assigned. */
256 #define TLSEXT_TYPE_padding 35655
257
254 /* NameType value from RFC 3546 */ 258 /* NameType value from RFC 3546 */
255 #define TLSEXT_NAMETYPE_host_name 0 259 #define TLSEXT_NAMETYPE_host_name 0
256 /* status request value from RFC 3546 */ 260 /* status request value from RFC 3546 */
257 #define TLSEXT_STATUSTYPE_ocsp 1 261 #define TLSEXT_STATUSTYPE_ocsp 1
258 262
259 /* ECPointFormat values from draft-ietf-tls-ecc-12 */ 263 /* ECPointFormat values from draft-ietf-tls-ecc-12 */
260 #define TLSEXT_ECPOINTFORMAT_first 0 264 #define TLSEXT_ECPOINTFORMAT_first 0
261 #define TLSEXT_ECPOINTFORMAT_uncompressed 0 265 #define TLSEXT_ECPOINTFORMAT_uncompressed 0
262 #define TLSEXT_ECPOINTFORMAT_ansiX962_compressed_prime 1 266 #define TLSEXT_ECPOINTFORMAT_ansiX962_compressed_prime 1
263 #define TLSEXT_ECPOINTFORMAT_ansiX962_compressed_char2 2 267 #define TLSEXT_ECPOINTFORMAT_ansiX962_compressed_char2 2
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 struct tls_session_ticket_ext_st 741 struct tls_session_ticket_ext_st
738 { 742 {
739 unsigned short length; 743 unsigned short length;
740 void *data; 744 void *data;
741 }; 745 };
742 746
743 #ifdef __cplusplus 747 #ifdef __cplusplus
744 } 748 }
745 #endif 749 #endif
746 #endif 750 #endif
OLDNEW
« no previous file with comments | « no previous file | openssl/openssl.config » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698