lib/nss/nssoptions.h
author Franziskus Kiefer <franziskuskiefer@gmail.com>
Fri, 30 Sep 2016 08:32:32 +0200
changeset 12718 0c845c900217050b8ee6e054655ea130d24480a4
parent 12515 51cac5244795f095a81fa4cda1fc62a82d9a2750
permissions -rw-r--r--
Bug 1306319 - Fix layer violations, r=kaie,ueno try: -b do -p linux,linux64-gyp -u all -t all -e all

/*
 * NSS utility functions
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/*
 *  Include the default limits here
 */
/* SSL default limits are here so we don't have to import a private SSL header
 * file into NSS proper */

/* The minimum server key sizes accepted by the clients.
 * Not 1024 to be conservative. */
#define SSL_RSA_MIN_MODULUS_BITS 1023
/* 1023 to avoid cases where p = 2q+1 for a 512-bit q turns out to be
 * only 1023 bits and similar.  We don't have good data on whether this
 * happens because NSS used to count bit lengths incorrectly. */
#define SSL_DH_MIN_P_BITS 1023
#define SSL_DSA_MIN_P_BITS 1023