From 014eedb45a98642aa17c2e095a57c03eb05138e3 Mon Sep 17 00:00:00 2001 From: schwarze Date: Mon, 10 Apr 2017 16:11:50 +0000 Subject: [PATCH] fix some .Xr errors that jmc@ found with mdoclint(1) --- lib/libssl/man/BIO_f_ssl.3 | 8 +++++--- lib/libssl/man/SSL_CTX_set_cert_store.3 | 7 +++---- lib/libssl/man/d2i_SSL_SESSION.3 | 10 +++++----- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/lib/libssl/man/BIO_f_ssl.3 b/lib/libssl/man/BIO_f_ssl.3 index df2dbc537cc..ec3114db28d 100644 --- a/lib/libssl/man/BIO_f_ssl.3 +++ b/lib/libssl/man/BIO_f_ssl.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: BIO_f_ssl.3,v 1.3 2016/12/16 15:39:08 jmc Exp $ +.\" $OpenBSD: BIO_f_ssl.3,v 1.4 2017/04/10 16:11:50 schwarze Exp $ .\" OpenSSL f672aee4 Feb 9 11:52:40 2016 -0500 .\" .\" This file was written by Dr. Stephen Henson . @@ -49,7 +49,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: April 10 2017 $ .Dt BIO_F_SSL 3 .Os .Sh NAME @@ -326,7 +326,9 @@ Since unknown operations are sent through filter .Vt BIO Ns s the server name and port can be set using -.Xr BIO_set_host 3 +.Xr BIO_set_conn_hostname 3 +and +.Xr BIO_set_conn_port 3 on the .Vt BIO returned by diff --git a/lib/libssl/man/SSL_CTX_set_cert_store.3 b/lib/libssl/man/SSL_CTX_set_cert_store.3 index 59e5db7fed6..4fd6fa7714b 100644 --- a/lib/libssl/man/SSL_CTX_set_cert_store.3 +++ b/lib/libssl/man/SSL_CTX_set_cert_store.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: SSL_CTX_set_cert_store.3,v 1.3 2016/12/16 15:39:08 jmc Exp $ +.\" $OpenBSD: SSL_CTX_set_cert_store.3,v 1.4 2017/04/10 16:11:50 schwarze Exp $ .\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 .\" .\" This file was written by Lutz Jaenicke . @@ -48,7 +48,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: April 10 2017 $ .Dt SSL_CTX_SET_CERT_STORE 3 .Os .Sh NAME @@ -71,8 +71,7 @@ If another .Vt X509_STORE object is currently set in .Fa ctx , -it will be -.Xr X509_STORE_free 3 Ns ed . +it will be freed. .Pp .Fn SSL_CTX_get_cert_store returns a pointer to the current certificate verification storage. diff --git a/lib/libssl/man/d2i_SSL_SESSION.3 b/lib/libssl/man/d2i_SSL_SESSION.3 index 94bcab6d899..57f140ab4cc 100644 --- a/lib/libssl/man/d2i_SSL_SESSION.3 +++ b/lib/libssl/man/d2i_SSL_SESSION.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: d2i_SSL_SESSION.3,v 1.2 2016/12/05 19:13:30 schwarze Exp $ +.\" $OpenBSD: d2i_SSL_SESSION.3,v 1.3 2017/04/10 16:11:50 schwarze Exp $ .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 .\" .\" This file was written by Lutz Jaenicke . @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: December 5 2016 $ +.Dd $Mdocdate: April 10 2017 $ .Dt D2I_SSL_SESSION 3 .Os .Sh NAME @@ -106,9 +106,9 @@ The reference count is 1, so that the session must be explicitly removed using unless the .Vt SSL_SESSION object is completely taken over, when being called inside the -.Xr get_session_cb 3 -(see -.Xr SSL_CTX_sess_set_get_cb 3 ) . +.Fn get_session_cb , +see +.Xr SSL_CTX_sess_set_get_cb 3 . .Pp .Vt SSL_SESSION objects keep internal link information about the session cache list when being -- 2.20.1