summaryrefslogtreecommitdiff
path: root/lib/libssl
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2018-02-27 18:54:39 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2018-02-27 18:54:39 +0000
commit4b59bc6f0c6166ac71d7538aeab3eecf7c4c7e94 (patch)
tree3ead71eeffc1809bda89cbb0e0e9ed86025fb693 /lib/libssl
parent002d9e9ab49bef4acdf23ed9d3a41696340495f3 (diff)
Add a cross reference to SSL_get_ex_data_X509_STORE_CTX_idx(3);
from Rich Salz <rsalz@openssl.org> via OpenSSL commit 9e183d22 Mar 11 08:56:44 2017 -0500.
Diffstat (limited to 'lib/libssl')
-rw-r--r--lib/libssl/man/SSL_CTX_set_verify.312
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/libssl/man/SSL_CTX_set_verify.3 b/lib/libssl/man/SSL_CTX_set_verify.3
index 911c26edf21..cdda05b87c5 100644
--- a/lib/libssl/man/SSL_CTX_set_verify.3
+++ b/lib/libssl/man/SSL_CTX_set_verify.3
@@ -1,5 +1,6 @@
-.\" $OpenBSD: SSL_CTX_set_verify.3,v 1.3 2016/12/16 15:39:08 jmc Exp $
-.\" OpenSSL 9b86974e Aug 17 15:21:33 2015 -0400
+.\" $OpenBSD: SSL_CTX_set_verify.3,v 1.4 2018/02/27 18:54:38 schwarze Exp $
+.\" full merge up to: OpenSSL 9b86974e Aug 17 15:21:33 2015 -0400
+.\" selective merge up to: OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>.
.\" Copyright (c) 2000, 2001, 2002, 2003, 2014 The OpenSSL Project.
@@ -49,7 +50,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 16 2016 $
+.Dd $Mdocdate: February 27 2018 $
.Dt SSL_CTX_SET_VERIFY 3
.Os
.Sh NAME
@@ -116,6 +117,11 @@ is used, that was valid at the time
.Fa ssl
was created with
.Xr SSL_new 3 .
+Within the callback function,
+.Xr SSL_get_ex_data_X509_STORE_CTX_idx 3
+can be called to get the data index of the current
+.Vt SSL
+object that is doing the verification.
.Pp
.Fn SSL_CTX_set_verify_depth
sets the maximum