mirror of https://github.com/yandex/odyssey.git
machinarium: fix check for SSL_get_verify_result()
This commit is contained in:
parent
b4e472956f
commit
1cea9190d8
|
@ -359,7 +359,7 @@ mm_tlsio_verify(mm_tlsio_t *io, mm_tls_t *tls)
|
|||
return -1;
|
||||
}
|
||||
rc = SSL_get_verify_result(io->ssl);
|
||||
if (! rc) {
|
||||
if (rc != X509_V_OK) {
|
||||
mm_tlsio_error(io, 0, "SSL_get_verify_result()");
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue