OLD | NEW |
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 * This Source Code Form is subject to the terms of the Mozilla Public | 4 * This Source Code Form is subject to the terms of the Mozilla Public |
5 * License, v. 2.0. If a copy of the MPL was not distributed with this | 5 * License, v. 2.0. If a copy of the MPL was not distributed with this |
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
7 /* $Id$ */ | 7 /* $Id$ */ |
8 | 8 |
9 #ifndef __sslt_h_ | 9 #ifndef __sslt_h_ |
10 #define __sslt_h_ | 10 #define __sslt_h_ |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 | 186 |
187 /* Supported extensions. */ | 187 /* Supported extensions. */ |
188 /* Update SSL_MAX_EXTENSIONS whenever a new extension type is added. */ | 188 /* Update SSL_MAX_EXTENSIONS whenever a new extension type is added. */ |
189 typedef enum { | 189 typedef enum { |
190 ssl_server_name_xtn = 0, | 190 ssl_server_name_xtn = 0, |
191 ssl_cert_status_xtn = 5, | 191 ssl_cert_status_xtn = 5, |
192 #ifdef NSS_ENABLE_ECC | 192 #ifdef NSS_ENABLE_ECC |
193 ssl_elliptic_curves_xtn = 10, | 193 ssl_elliptic_curves_xtn = 10, |
194 ssl_ec_point_formats_xtn = 11, | 194 ssl_ec_point_formats_xtn = 11, |
195 #endif | 195 #endif |
| 196 ssl_signature_algorithms_xtn = 13, |
196 ssl_use_srtp_xtn = 14, | 197 ssl_use_srtp_xtn = 14, |
197 ssl_session_ticket_xtn = 35, | 198 ssl_session_ticket_xtn = 35, |
198 ssl_next_proto_nego_xtn = 13172, | 199 ssl_next_proto_nego_xtn = 13172, |
199 ssl_channel_id_xtn = 30031, | 200 ssl_channel_id_xtn = 30031, |
200 ssl_renegotiation_info_xtn = 0xff01 /* experimental number */ | 201 ssl_renegotiation_info_xtn = 0xff01 /* experimental number */ |
201 } SSLExtensionType; | 202 } SSLExtensionType; |
202 | 203 |
203 #define SSL_MAX_EXTENSIONS 9 | 204 #define SSL_MAX_EXTENSIONS 10 |
204 | 205 |
205 #endif /* __sslt_h_ */ | 206 #endif /* __sslt_h_ */ |
OLD | NEW |