diff options
author | J.C. Jones <jjones@mozilla.com> | 2020-12-03 15:38:17 +0000 |
---|---|---|
committer | J.C. Jones <jjones@mozilla.com> | 2020-12-03 15:38:17 +0000 |
commit | b7c5d868d16609ba34f4691ade590ffb0e4bd9e5 (patch) | |
tree | 8a444e2d7a83ce6a0cf924f94237e9317e653078 | |
parent | 81c2366315738aaf026c81229e1d28c8a28e46e4 (diff) | |
download | nss-hg-b7c5d868d16609ba34f4691ade590ffb0e4bd9e5.tar.gz |
Bug 1675523 - CKR_PUBLIC_KEY_INVALID has an incorrect value r=bbeurdouche
PKCS#11 v2.40:
https://www.cryptsoft.com/pkcs11doc/STANDARD/include/v240/pkcs11t.h line 1150
jdk8u:
https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/eb7f437285a1/src/share/native/sun/security/pkcs11/wrapper/pkcs11t.h#l1155
Differential Revision: https://phabricator.services.mozilla.com/D97337
-rw-r--r-- | lib/util/pkcs11t.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/pkcs11t.h b/lib/util/pkcs11t.h index 3be77772c..2e3218eb4 100644 --- a/lib/util/pkcs11t.h +++ b/lib/util/pkcs11t.h @@ -1460,7 +1460,7 @@ typedef CK_ULONG CK_RV; #define CKR_FIPS_SELF_TEST_FAILED 0x000001B6UL #define CKR_LIBRARY_LOAD_FAILED 0x000001B7UL #define CKR_PIN_TOO_WEAK 0x000001B8UL -#define CKR_PUBLIC_KEY_INVALID 0x000001B +#define CKR_PUBLIC_KEY_INVALID 0x000001B9UL /* This is new to v2.20 */ #define CKR_FUNCTION_REJECTED 0x00000200UL |