diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-04-25 13:51:35 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-04-25 13:51:35 +0000 |
commit | 46cc0b3ed626030a8d3ee96c3d7d5bfcd607f2b8 (patch) | |
tree | ce54af85a09dd595cea395c79d0f99bea5f026b6 /lib/libssl/man | |
parent | 5d97bbc8141e070202b7e85e8122abeaeab586e5 (diff) |
In ssl.h rev. 1.156 2018/04/25 07:10:39, tb@ added const qualifiers
to some parameters and return values of some functions.
Update the documentation.
Diffstat (limited to 'lib/libssl/man')
-rw-r--r-- | lib/libssl/man/SSL_CIPHER_get_name.3 | 6 | ||||
-rw-r--r-- | lib/libssl/man/SSL_CTX_sess_set_get_cb.3 | 8 | ||||
-rw-r--r-- | lib/libssl/man/SSL_CTX_use_certificate.3 | 6 | ||||
-rw-r--r-- | lib/libssl/man/SSL_dup_CA_list.3 | 6 | ||||
-rw-r--r-- | lib/libssl/man/SSL_get_certificate.3 | 6 |
5 files changed, 16 insertions, 16 deletions
diff --git a/lib/libssl/man/SSL_CIPHER_get_name.3 b/lib/libssl/man/SSL_CIPHER_get_name.3 index 24e96a64169..37707566e46 100644 --- a/lib/libssl/man/SSL_CIPHER_get_name.3 +++ b/lib/libssl/man/SSL_CIPHER_get_name.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: SSL_CIPHER_get_name.3,v 1.9 2018/03/27 17:35:50 schwarze Exp $ +.\" $OpenBSD: SSL_CIPHER_get_name.3,v 1.10 2018/04/25 13:51:34 schwarze Exp $ .\" full merge up to: OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 .\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 .\" @@ -52,7 +52,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 27 2018 $ +.Dd $Mdocdate: April 25 2018 $ .Dt SSL_CIPHER_GET_NAME 3 .Os .Sh NAME @@ -73,7 +73,7 @@ .Fn SSL_CIPHER_get_name "const SSL_CIPHER *cipher" .Ft int .Fn SSL_CIPHER_get_bits "const SSL_CIPHER *cipher" "int *alg_bits" -.Ft char * +.Ft const char * .Fn SSL_CIPHER_get_version "const SSL_CIPHER *cipher" .Ft int .Fn SSL_CIPHER_get_cipher_nid "const SSL_CIPHER *cipher" diff --git a/lib/libssl/man/SSL_CTX_sess_set_get_cb.3 b/lib/libssl/man/SSL_CTX_sess_set_get_cb.3 index 531219120ff..d81061882bd 100644 --- a/lib/libssl/man/SSL_CTX_sess_set_get_cb.3 +++ b/lib/libssl/man/SSL_CTX_sess_set_get_cb.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: SSL_CTX_sess_set_get_cb.3,v 1.4 2018/03/27 17:35:50 schwarze Exp $ +.\" $OpenBSD: SSL_CTX_sess_set_get_cb.3,v 1.5 2018/04/25 13:51:34 schwarze Exp $ .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 .\" .\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>. @@ -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: March 27 2018 $ +.Dd $Mdocdate: April 25 2018 $ .Dt SSL_CTX_SESS_SET_GET_CB 3 .Os .Sh NAME @@ -75,7 +75,7 @@ .Ft void .Fo SSL_CTX_sess_set_get_cb .Fa "SSL_CTX *ctx" -.Fa "SSL_SESSION (*get_session_cb)(SSL *, unsigned char *, int, int *)" +.Fa "SSL_SESSION (*get_session_cb)(SSL *, const unsigned char *, int, int *)" .Fc .Ft int .Fo "(*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))" @@ -90,7 +90,7 @@ .Ft SSL_SESSION * .Fo "(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx))" .Fa "struct ssl_st *ssl" -.Fa "unsigned char *data" +.Fa "const unsigned char *data" .Fa "int len" .Fa "int *copy" .Fc diff --git a/lib/libssl/man/SSL_CTX_use_certificate.3 b/lib/libssl/man/SSL_CTX_use_certificate.3 index 3e493bd6072..b1b7df5a9af 100644 --- a/lib/libssl/man/SSL_CTX_use_certificate.3 +++ b/lib/libssl/man/SSL_CTX_use_certificate.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: SSL_CTX_use_certificate.3,v 1.8 2018/03/27 17:35:50 schwarze Exp $ +.\" $OpenBSD: SSL_CTX_use_certificate.3,v 1.9 2018/04/25 13:51:34 schwarze Exp $ .\" OpenSSL e248596b Apr 8 22:49:57 2005 +0000 .\" .\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>. @@ -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: March 27 2018 $ +.Dd $Mdocdate: April 25 2018 $ .Dt SSL_CTX_USE_CERTIFICATE 3 .Os .Sh NAME @@ -117,7 +117,7 @@ .Ft int .Fn SSL_use_RSAPrivateKey "SSL *ssl" "RSA *rsa" .Ft int -.Fn SSL_use_RSAPrivateKey_ASN1 "SSL *ssl" "unsigned char *d" "long len" +.Fn SSL_use_RSAPrivateKey_ASN1 "SSL *ssl" "const unsigned char *d" "long len" .Ft int .Fn SSL_use_RSAPrivateKey_file "SSL *ssl" "const char *file" "int type" .Ft int diff --git a/lib/libssl/man/SSL_dup_CA_list.3 b/lib/libssl/man/SSL_dup_CA_list.3 index a81dbf988c0..2c3250844fd 100644 --- a/lib/libssl/man/SSL_dup_CA_list.3 +++ b/lib/libssl/man/SSL_dup_CA_list.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: SSL_dup_CA_list.3,v 1.4 2018/03/27 17:35:50 schwarze Exp $ +.\" $OpenBSD: SSL_dup_CA_list.3,v 1.5 2018/04/25 13:51:34 schwarze Exp $ .\" .\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: March 27 2018 $ +.Dd $Mdocdate: April 25 2018 $ .Dt SSL_DUP_CA_LIST 3 .Os .Sh NAME @@ -24,7 +24,7 @@ .Sh SYNOPSIS .Ft STACK_OF(X509_NAME) * .Fo SSL_dup_CA_list -.Fa "STACK_OF(X509_NAME) *sk" +.Fa "const STACK_OF(X509_NAME) *sk" .Fc .Sh DESCRIPTION .Fn SSL_dup_CA_list diff --git a/lib/libssl/man/SSL_get_certificate.3 b/lib/libssl/man/SSL_get_certificate.3 index b140cd3c86b..e3730c2150f 100644 --- a/lib/libssl/man/SSL_get_certificate.3 +++ b/lib/libssl/man/SSL_get_certificate.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: SSL_get_certificate.3,v 1.3 2018/03/27 17:35:50 schwarze Exp $ +.\" $OpenBSD: SSL_get_certificate.3,v 1.4 2018/04/25 13:51:34 schwarze Exp $ .\" .\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: March 27 2018 $ +.Dd $Mdocdate: April 25 2018 $ .Dt SSL_GET_CERTIFICATE 3 .Os .Sh NAME @@ -29,7 +29,7 @@ .Fc .Ft EVP_PKEY * .Fo SSL_get_privatekey -.Fa "SSL *ssl" +.Fa "const SSL *ssl" .Fc .Sh DESCRIPTION These functions retrieve certificate and key data from an |