Properly handle fallback cipher type case in wc_Pkcs11_CryptoDevCb.

Thanks to Zou Dikai for the report.
This commit is contained in:
Kareem
2026-04-23 16:05:01 -07:00
parent 980fc51ea7
commit d1b6ddca75
+3
View File
@@ -6525,6 +6525,9 @@ int wc_Pkcs11_CryptoDevCb(int devId, wc_CryptoInfo* info, void* ctx)
}
break;
#endif
default:
ret = NOT_COMPILED_IN;
break;
}
#else
ret = NOT_COMPILED_IN;