2
0

SSL_set_verify_result.pod 978 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. =pod
  2. =head1 NAME
  3. SSL_set_verify_result - override result of peer certificate verification
  4. =head1 SYNOPSIS
  5. #include <openssl/ssl.h>
  6. void SSL_set_verify_result(SSL *ssl, long verify_result);
  7. =head1 DESCRIPTION
  8. SSL_set_verify_result() sets B<verify_result> of the object B<ssl> to be the
  9. result of the verification of the X509 certificate presented by the peer,
  10. if any.
  11. =head1 NOTES
  12. SSL_set_verify_result() overrides the verification result. It only changes
  13. the verification result of the B<ssl> object. It does not become part of the
  14. established session, so if the session is to be reused later, the original
  15. value will reappear.
  16. The valid codes for B<verify_result> are documented in L<verify(1)|verify(1)>.
  17. =head1 RETURN VALUES
  18. SSL_set_verify_result() does not provide a return value.
  19. =head1 SEE ALSO
  20. L<ssl(3)|ssl(3)>, L<SSL_get_verify_result(3)|SSL_get_verify_result(3)>,
  21. L<SSL_get_peer_certificate(3)|SSL_get_peer_certificate(3)>,
  22. L<verify(1)|verify(1)>
  23. =cut