1SSL_set_verify_result(3) OpenSSL SSL_set_verify_result(3)
2
3
4
6 SSL_set_verify_result - override result of peer certificate verifica‐
7 tion
8
10 #include <openssl/ssl.h>
11
12 void SSL_set_verify_result(SSL *ssl, long verify_result);
13
15 SSL_set_verify_result() sets verify_result of the object ssl to be the
16 result of the verification of the X509 certificate presented by the
17 peer, if any.
18
20 SSL_set_verify_result() overrides the verification result. It only
21 changes the verification result of the ssl object. It does not become
22 part of the established session, so if the session is to be reused
23 later, the original value will reappear.
24
25 The valid codes for verify_result are documented in verify(1).
26
28 SSL_set_verify_result() does not provide a return value.
29
31 ssl(3), SSL_get_verify_result(3), SSL_get_peer_certificate(3), ver‐
32 ify(1)
33
34
35
360.9.8b 2000-09-20 SSL_set_verify_result(3)