VirtualBox

source: vbox/trunk/src/libs/openssl-1.1.1k/doc/man3/SSL_set_verify_result.pod@ 90293

Last change on this file since 90293 was 90293, checked in by vboxsync, 4 years ago

openssl-1.1.1k: Applied and adjusted our OpenSSL changes to 1.1.1k. bugref:10072

File size: 1.2 KB
Line 
1=pod
2
3=head1 NAME
4
5SSL_set_verify_result - override result of peer certificate verification
6
7=head1 SYNOPSIS
8
9 #include <openssl/ssl.h>
10
11 void SSL_set_verify_result(SSL *ssl, long verify_result);
12
13=head1 DESCRIPTION
14
15SSL_set_verify_result() sets B<verify_result> of the object B<ssl> to be the
16result of the verification of the X509 certificate presented by the peer,
17if any.
18
19=head1 NOTES
20
21SSL_set_verify_result() overrides the verification result. It only changes
22the verification result of the B<ssl> object. It does not become part of the
23established session, so if the session is to be reused later, the original
24value will reappear.
25
26The valid codes for B<verify_result> are documented in L<verify(1)>.
27
28=head1 RETURN VALUES
29
30SSL_set_verify_result() does not provide a return value.
31
32=head1 SEE ALSO
33
34L<ssl(7)>, L<SSL_get_verify_result(3)>,
35L<SSL_get_peer_certificate(3)>,
36L<verify(1)>
37
38=head1 COPYRIGHT
39
40Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
41
42Licensed under the OpenSSL license (the "License"). You may not use
43this file except in compliance with the License. You can obtain a copy
44in the file LICENSE in the source distribution or at
45L<https://www.openssl.org/source/license.html>.
46
47=cut
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette