tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

nssckbi.h (2504B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 #ifndef NSSCKBI_H
      6 #define NSSCKBI_H
      7 
      8 /*
      9 * NSS BUILTINS Version numbers.
     10 *
     11 * These are the version numbers for the builtins module packaged with
     12 * this release on NSS. To determine the version numbers of the builtin
     13 * module you are using, use the appropriate PKCS #11 calls.
     14 *
     15 * These version numbers detail changes to the PKCS #11 interface. They map
     16 * to the PKCS #11 spec versions.
     17 */
     18 #define NSS_BUILTINS_CRYPTOKI_VERSION_MAJOR 2
     19 #define NSS_BUILTINS_CRYPTOKI_VERSION_MINOR 20
     20 
     21 /* These version numbers detail the changes
     22 * to the list of trusted certificates.
     23 *
     24 * The NSS_BUILTINS_LIBRARY_VERSION_MINOR macro needs to be bumped
     25 * whenever we change the list of trusted certificates.
     26 *
     27 * Please use the following rules when increasing the version number:
     28 *
     29 * - starting with version 2.14, NSS_BUILTINS_LIBRARY_VERSION_MINOR
     30 *   must always be an EVEN number (e.g. 16, 18, 20 etc.)
     31 *
     32 * - whenever possible, if older branches require a modification to the
     33 *   list, these changes should be made on the main line of development (trunk),
     34 *   and the older branches should update to the most recent list.
     35 *
     36 * - ODD minor version numbers are reserved to indicate a snapshot that has
     37 *   deviated from the main line of development, e.g. if it was necessary
     38 *   to modify the list on a stable branch.
     39 *   Once the version has been changed to an odd number (e.g. 2.13) on a branch,
     40 *   it should remain unchanged on that branch, even if further changes are
     41 *   made on that branch.
     42 *
     43 * NSS_BUILTINS_LIBRARY_VERSION_MINOR is a CK_BYTE.  It's not clear
     44 * whether we may use its full range (0-255) or only 0-99 because
     45 * of the comment in the CK_VERSION type definition.
     46 * It's recommend to switch back to 0 after having reached version 98/99.
     47 */
     48 #define NSS_BUILTINS_LIBRARY_VERSION_MAJOR 2
     49 #define NSS_BUILTINS_LIBRARY_VERSION_MINOR 82
     50 #define NSS_BUILTINS_LIBRARY_VERSION "2.82"
     51 
     52 /* These version numbers detail the semantic changes to the ckfw engine. */
     53 #define NSS_BUILTINS_HARDWARE_VERSION_MAJOR 1
     54 #define NSS_BUILTINS_HARDWARE_VERSION_MINOR 0
     55 
     56 /* These version numbers detail the semantic changes to ckbi itself
     57 * (new PKCS #11 objects), etc. */
     58 #define NSS_BUILTINS_FIRMWARE_VERSION_MAJOR 1
     59 #define NSS_BUILTINS_FIRMWARE_VERSION_MINOR 0
     60 
     61 #endif /* NSSCKBI_H */