diff --git a/jss.spec b/jss.spec index 87e33b0c4..d797f9add 100644 --- a/jss.spec +++ b/jss.spec @@ -58,10 +58,10 @@ ExcludeArch: i686 # Build Options ################################################################################ -# By default the build will not execute unit tests unless --with tests +# By default the build will execute unit tests unless --without tests # option is specified. -%bcond_with tests +%bcond_without tests ################################################################################ # Build Dependencies diff --git a/src/main/java/org/mozilla/jss/pkcs11/PKCS11Constants.java b/src/main/java/org/mozilla/jss/pkcs11/PKCS11Constants.java index ee0ba46cc..f578a64fe 100644 --- a/src/main/java/org/mozilla/jss/pkcs11/PKCS11Constants.java +++ b/src/main/java/org/mozilla/jss/pkcs11/PKCS11Constants.java @@ -4955,13 +4955,6 @@ public interface PKCS11Constants { */ public static final long CKF_EC_OID = 0x00800000L; - /** - * Content automatically generated; see NSS documentation for more information. - * - * Source file: /usr/include/nss3/pkcs11t.h - */ - public static final long CKF_EC_NAMEDCURVE = 0x00800000L; - /** * Content automatically generated; see NSS documentation for more information. * diff --git a/tools/build_pkcs11_constants.py b/tools/build_pkcs11_constants.py index d68dc6f69..e4c6b49c2 100755 --- a/tools/build_pkcs11_constants.py +++ b/tools/build_pkcs11_constants.py @@ -27,7 +27,8 @@ 'CK_CALLBACK_FUNCTION', 'CK_DECLARE_FUNCTION', 'CK_DECLARE_FUNCTION_POINTER', - 'CK_UNAVAILABLE_INFORMATION' + 'CK_UNAVAILABLE_INFORMATION', + 'CKF_EC_NAMEDCURVE' # deprecated in PKCS #11 3.0 ] logger = logging.getLogger(__name__)