| OLD | NEW |
| (Empty) |
| 1 /* | |
| 2 * NSS utility functions | |
| 3 * | |
| 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 | |
| 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
| 7 /* | |
| 8 * Include the default limits here | |
| 9 */ | |
| 10 /* SSL default limits are here so we don't have to import a private SSL header | |
| 11 * file into NSS proper */ | |
| 12 | |
| 13 /* The minimum server key sizes accepted by the clients. | |
| 14 * Not 1024 to be conservative. */ | |
| 15 #define SSL_RSA_MIN_MODULUS_BITS 1023 | |
| 16 /* 1023 to avoid cases where p = 2q+1 for a 512-bit q turns out to be | |
| 17 * only 1023 bits and similar. We don't have good data on whether this | |
| 18 * happens because NSS used to count bit lengths incorrectly. */ | |
| 19 #define SSL_DH_MIN_P_BITS 1023 | |
| 20 #define SSL_DSA_MIN_P_BITS 1023 | |
| 21 | |
| OLD | NEW |