| commit | 9df4e39c62577e513320cdf5554f3fae8b32341f | [log] [tgz] |
|---|---|---|
| author | Dimitrios Soumis <jimsoumis@gmail.com> | Thu Oct 09 22:43:44 2025 +0300 |
| committer | GitHub <noreply@github.com> | Thu Oct 09 22:43:44 2025 +0300 |
| tree | d823e26fb3be5af1df46ae26823501caf1b07a68 | |
| parent | dc4e47aedacab17593eab97631810f6b6635ee31 [diff] |
Correctly handle optionalNoCA verification The existing logic to approve optionalNoCA connections only checked if errnum was one of the known optional errors defined in the SSL_VERIFY_ERROR_IS_OPTIONAL macro. It did not account for the case where the error code was X509_V_OK. As a result, the condition was not met, and the function incorrectly proceeded as if the handshake had failed, causing the connection to be rejected.