mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-05-05 08:14:14 +02:00
Verify Callback Fix
1. Removed a flag set that would force all certificates in a chain to be verified. There was a compile time option to make that happen already. 2. Replace some options for some test failure test cases that were added and immediately removed. (ZD 11292)
This commit is contained in:
@@ -10017,8 +10017,6 @@ int DoVerifyCallback(WOLFSSL_CERT_MANAGER* cm, WOLFSSL* ssl, int ret,
|
||||
/* Determine if verify was okay */
|
||||
if (ret == 0) {
|
||||
verify_ok = 1;
|
||||
use_cb = 1; /* use verify callback on success, in case callback
|
||||
* could force fail a cert */
|
||||
}
|
||||
|
||||
/* Determine if verify callback should be used */
|
||||
|
||||
Reference in New Issue
Block a user