Skip to content

Commit 4596e9e

Browse files
julek-wolfssldgarske
authored andcommitted
Fix error return in InitSSL verify param path
F-720
1 parent a9a9eae commit 4596e9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/internal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7956,7 +7956,7 @@ int InitSSL(WOLFSSL* ssl, WOLFSSL_CTX* ctx, int writeDup)
79567956
(unsigned long)wolfSSL_X509_VERIFY_PARAM_get_flags(
79577957
wolfSSL_CTX_get0_param(ctx))) != WOLFSSL_SUCCESS) {
79587958
WOLFSSL_MSG("ssl->param set flags error");
7959-
return WOLFSSL_FAILURE;
7959+
return BAD_STATE_E;
79607960
}
79617961
#endif
79627962

0 commit comments

Comments
 (0)