SSL_set_verify_result.pod revision 68651
168651Skris=pod 268651Skris 368651Skris=head1 NAME 468651Skris 568651SkrisSSL_set_verify_result - override result of peer certificate verification 668651Skris 768651Skris=head1 SYNOPSIS 868651Skris 968651Skris #include <openssl/ssl.h> 1068651Skris 1168651Skris void SSL_set_verify_result(SSL *ssl, long verify_result); 1268651Skris 1368651Skris=head1 DESCRIPTION 1468651Skris 1568651SkrisSSL_set_verify_result() sets B<verify_result> of the object B<ssl> to be the 1668651Skrisresult of the verification of the X509 certificate presented by the peer, 1768651Skrisif any. 1868651Skris 1968651Skris=head1 NOTES 2068651Skris 2168651SkrisSSL_set_verify_result() overrides the verification result. It only changes 2268651Skristhe verification result of the B<ssl> object. It does not become part of the 2368651Skrisestablished session, so if the session is to be reused later, the original 2468651Skrisvalue will reappear. 2568651Skris 2668651SkrisThe valid codes for B<verify_result> are documented in L<verify(1)|verify(1)>. 2768651Skris 2868651Skris=head1 RETURN VALUES 2968651Skris 3068651SkrisSSL_set_verify_result() does not provide a return value. 3168651Skris 3268651Skris=head1 SEE ALSO 3368651Skris 3468651SkrisL<ssl(3)|ssl(3)>, L<SSL_get_verify_result(3)|SSL_get_verify_result(3)>, 3568651SkrisL<SSL_get_peer_certificate(3)|SSL_get_peer_certificate(3)>, 3668651SkrisL<verify(1)|verify(1)> 3768651Skris 3868651Skris=cut 39