Blame SOURCES/nssckbi.h

4f058b
/* This Source Code Form is subject to the terms of the Mozilla Public
4f058b
 * License, v. 2.0. If a copy of the MPL was not distributed with this
4f058b
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4f058b
4f058b
#ifndef NSSCKBI_H
4f058b
#define NSSCKBI_H
4f058b
4f058b
/*
4f058b
 * NSS BUILTINS Version numbers.
4f058b
 *
4f058b
 * These are the version numbers for the builtins module packaged with
4f058b
 * this release on NSS. To determine the version numbers of the builtin
4f058b
 * module you are using, use the appropriate PKCS #11 calls.
4f058b
 *
4f058b
 * These version numbers detail changes to the PKCS #11 interface. They map
4f058b
 * to the PKCS #11 spec versions.
4f058b
 */
4f058b
#define NSS_BUILTINS_CRYPTOKI_VERSION_MAJOR 2
4f058b
#define NSS_BUILTINS_CRYPTOKI_VERSION_MINOR 20
4f058b
4f058b
/* These version numbers detail the changes
4f058b
 * to the list of trusted certificates.
4f058b
 *
4f058b
 * The NSS_BUILTINS_LIBRARY_VERSION_MINOR macro needs to be bumped
4f058b
 * whenever we change the list of trusted certificates.
4f058b
 *
4f058b
 * Please use the following rules when increasing the version number:
4f058b
 *
4f058b
 * - starting with version 2.14, NSS_BUILTINS_LIBRARY_VERSION_MINOR
4f058b
 *   must always be an EVEN number (e.g. 16, 18, 20 etc.)
4f058b
 *
4f058b
 * - whenever possible, if older branches require a modification to the
4f058b
 *   list, these changes should be made on the main line of development (trunk),
4f058b
 *   and the older branches should update to the most recent list.
4f058b
 * 
4f058b
 * - ODD minor version numbers are reserved to indicate a snapshot that has
4f058b
 *   deviated from the main line of development, e.g. if it was necessary
4f058b
 *   to modify the list on a stable branch.
4f058b
 *   Once the version has been changed to an odd number (e.g. 2.13) on a branch,
4f058b
 *   it should remain unchanged on that branch, even if further changes are
4f058b
 *   made on that branch.
4f058b
 *
4f058b
 * NSS_BUILTINS_LIBRARY_VERSION_MINOR is a CK_BYTE.  It's not clear
4f058b
 * whether we may use its full range (0-255) or only 0-99 because
4f058b
 * of the comment in the CK_VERSION type definition.
4f058b
 * It's recommend to switch back to 0 after having reached version 98/99.
4f058b
 */
4f058b
#define NSS_BUILTINS_LIBRARY_VERSION_MAJOR 2
4f058b
#define NSS_BUILTINS_LIBRARY_VERSION_MINOR 20
4f058b
#define NSS_BUILTINS_LIBRARY_VERSION "2.20"
4f058b
4f058b
/* These version numbers detail the semantic changes to the ckfw engine. */
4f058b
#define NSS_BUILTINS_HARDWARE_VERSION_MAJOR 1
4f058b
#define NSS_BUILTINS_HARDWARE_VERSION_MINOR 0
4f058b
4f058b
/* These version numbers detail the semantic changes to ckbi itself
4f058b
 * (new PKCS #11 objects), etc. */
4f058b
#define NSS_BUILTINS_FIRMWARE_VERSION_MAJOR 1
4f058b
#define NSS_BUILTINS_FIRMWARE_VERSION_MINOR 0
4f058b
4f058b
#endif /* NSSCKBI_H */