Skip to content

Commit

Permalink
Exclude CKF_EC_NAMEDCURVE
Browse files Browse the repository at this point in the history
  • Loading branch information
edewata committed Jan 16, 2024
1 parent 10da599 commit e3266ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
4 changes: 2 additions & 2 deletions jss.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 0 additions & 7 deletions src/main/java/org/mozilla/jss/pkcs11/PKCS11Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
3 changes: 2 additions & 1 deletion tools/build_pkcs11_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down

0 comments on commit e3266ff

Please sign in to comment.