| 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 * ***** 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 | 206 |
| 207 /* Supported extensions. */ | 207 /* Supported extensions. */ |
| 208 /* Update SSL_MAX_EXTENSIONS whenever a new extension type is added. */ | 208 /* Update SSL_MAX_EXTENSIONS whenever a new extension type is added. */ |
| 209 typedef enum { | 209 typedef enum { |
| 210 ssl_server_name_xtn = 0, | 210 ssl_server_name_xtn = 0, |
| 211 ssl_cert_status_xtn = 5, | 211 ssl_cert_status_xtn = 5, |
| 212 #ifdef NSS_ENABLE_ECC | 212 #ifdef NSS_ENABLE_ECC |
| 213 ssl_elliptic_curves_xtn = 10, | 213 ssl_elliptic_curves_xtn = 10, |
| 214 ssl_ec_point_formats_xtn = 11, | 214 ssl_ec_point_formats_xtn = 11, |
| 215 #endif | 215 #endif |
| 216 ssl_use_srtp_xtn = 14, |
| 216 ssl_session_ticket_xtn = 35, | 217 ssl_session_ticket_xtn = 35, |
| 217 ssl_next_proto_nego_xtn = 13172, | 218 ssl_next_proto_nego_xtn = 13172, |
| 218 ssl_encrypted_client_certs = 13180, /* not IANA assigned. */ | 219 ssl_encrypted_client_certs = 13180, /* not IANA assigned. */ |
| 219 ssl_renegotiation_info_xtn = 0xff01, /* experimental number */ | 220 ssl_renegotiation_info_xtn = 0xff01, /* experimental number */ |
| 220 ssl_ob_cert_xtn = 13175 /* experimental number */ | 221 ssl_ob_cert_xtn = 13175 /* experimental number */ |
| 221 } SSLExtensionType; | 222 } SSLExtensionType; |
| 222 | 223 |
| 223 #define SSL_MAX_EXTENSIONS 9 | 224 #define SSL_MAX_EXTENSIONS 10 |
| 224 | 225 |
| 225 #endif /* __sslt_h_ */ | 226 #endif /* __sslt_h_ */ |
| OLD | NEW |