Method: OpenSSL::SSL::SSLSocket#verify_result
- Defined in:
- ossl_ssl.c
#verify_result ⇒ Integer
Returns the result of the peer certificates verification. See verify(1) for error values and descriptions.
If no peer certificate was presented X509_V_OK is returned.
2386 2387 2388 2389 2390 2391 2392 2393 2394 |
# File 'ossl_ssl.c', line 2386
static VALUE
ossl_ssl_get_verify_result(VALUE self)
{
SSL *ssl;
GetSSL(self, ssl);
return LONG2NUM(SSL_get_verify_result(ssl));
}
|