OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |