Skip to content

Commit d1b6ddc

Browse files
Properly handle fallback cipher type case in wc_Pkcs11_CryptoDevCb.
Thanks to Zou Dikai for the report.
1 parent 980fc51 commit d1b6ddc

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
@@ -6525,6 +6525,9 @@ int wc_Pkcs11_CryptoDevCb(int devId, wc_CryptoInfo* info, void* ctx)
65256525
}
65266526
break;
65276527
#endif
6528+
default:
6529+
ret = NOT_COMPILED_IN;
6530+
break;
65286531
}
65296532
#else
65306533
ret = NOT_COMPILED_IN;

0 commit comments

Comments
 (0)