Skip to content

Commit 4c5df4f

Browse files
committed
fix typo in PKCS#11 V3 init
1 parent 1c8d593 commit 4c5df4f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/wc_pkcs11.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ int wc_Pkcs11_Initialize_v3(Pkcs11Dev* dev, const char* library,
568568
pkcs11_version.major = 2;
569569
pkcs11_version.minor = 20;
570570
}
571-
else if (*version == WC_PCKS11VERSION_2_20) {
571+
else if (*version == WC_PCKS11VERSION_2_40) {
572572
pkcs11_version.major = 2;
573573
pkcs11_version.minor = 40;
574574
}

0 commit comments

Comments
 (0)