Skip to content

Commit ea98cd4

Browse files
Properly handle fallback cipher type case in wc_Pkcs11_CryptoDevCb.
Thanks to Zou Dikai for the report.
1 parent 90366b7 commit ea98cd4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

wolfcrypt/src/wc_pkcs11.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6528,6 +6528,9 @@ int wc_Pkcs11_CryptoDevCb(int devId, wc_CryptoInfo* info, void* ctx)
65286528
}
65296529
break;
65306530
#endif
6531+
default:
6532+
ret = NOT_COMPILED_IN;
6533+
break;
65316534
}
65326535
#else
65336536
ret = NOT_COMPILED_IN;

0 commit comments

Comments
 (0)