| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Table enumerating all implemented cipher suites | 2 * Table enumerating all implemented cipher suites |
| 3 * Part of public API. | 3 * Part of public API. |
| 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 /* $Id: sslenum.c,v 1.19 2012/04/25 14:50:12 gerv%gerv.net Exp $ */ | 8 /* $Id$ */ |
| 9 | 9 |
| 10 #include "ssl.h" | 10 #include "ssl.h" |
| 11 #include "sslproto.h" | 11 #include "sslproto.h" |
| 12 | 12 |
| 13 /* | 13 /* |
| 14 * The ciphers are listed in the following order: | 14 * The ciphers are listed in the following order: |
| 15 * - stronger ciphers before weaker ciphers | 15 * - stronger ciphers before weaker ciphers |
| 16 * - national ciphers before international ciphers | 16 * - national ciphers before international ciphers |
| 17 * - faster ciphers before slower ciphers | 17 * - faster ciphers before slower ciphers |
| 18 * | 18 * |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 SSL_GetImplementedCiphers(void) | 125 SSL_GetImplementedCiphers(void) |
| 126 { | 126 { |
| 127 return SSL_ImplementedCiphers; | 127 return SSL_ImplementedCiphers; |
| 128 } | 128 } |
| 129 | 129 |
| 130 PRUint16 | 130 PRUint16 |
| 131 SSL_GetNumImplementedCiphers(void) | 131 SSL_GetNumImplementedCiphers(void) |
| 132 { | 132 { |
| 133 return SSL_NumImplementedCiphers; | 133 return SSL_NumImplementedCiphers; |
| 134 } | 134 } |
| OLD | NEW |