From 4b59bc6f0c6166ac71d7538aeab3eecf7c4c7e94 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 27 Feb 2018 18:54:39 +0000 Subject: Add a cross reference to SSL_get_ex_data_X509_STORE_CTX_idx(3); from Rich Salz via OpenSSL commit 9e183d22 Mar 11 08:56:44 2017 -0500. --- lib/libssl/man/SSL_CTX_set_verify.3 | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'lib/libssl') 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 . .\" 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 -- cgit v1.2.3