From 60f1a54409e7682c49f9538405e9f43abb317363 Mon Sep 17 00:00:00 2001 From: jmc <> Date: Tue, 29 Nov 2016 21:29:19 +0000 Subject: tweak previous; --- src/lib/libcrypto/man/CRYPTO_get_mem_functions.3 | 7 +++---- src/lib/libcrypto/man/OPENSSL_cleanse.3 | 11 +++++------ src/lib/libcrypto/man/OPENSSL_malloc.3 | 8 ++++---- 3 files changed, 12 insertions(+), 14 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libcrypto/man/CRYPTO_get_mem_functions.3 b/src/lib/libcrypto/man/CRYPTO_get_mem_functions.3 index a0bfb8a1d5..0a1ca384a8 100644 --- a/src/lib/libcrypto/man/CRYPTO_get_mem_functions.3 +++ b/src/lib/libcrypto/man/CRYPTO_get_mem_functions.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: CRYPTO_get_mem_functions.3,v 1.1 2016/11/29 18:16:09 deraadt Exp $ +.\" $OpenBSD: CRYPTO_get_mem_functions.3,v 1.2 2016/11/29 21:29:19 jmc Exp $ .\" .\" Copyright (c) 2016 Ingo Schwarze .\" @@ -15,7 +15,7 @@ .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" .Dd $Mdocdate: November 29 2016 $ -.Dt CRYPTO_get_mem_functions 3 +.Dt CRYPTO_GET_MEM_FUNCTIONS 3 .Os .Sh NAME .Nm CRYPTO_get_mem_functions , @@ -61,7 +61,7 @@ assigns pointers to the C library functions and .Xr free 3 to those of its arguments that are not -.Dv NULL. +.Dv NULL . .Pp .Fn CRYPTO_set_mem_functions , .Fn CRYPTO_mem_ctrl , @@ -70,7 +70,6 @@ and .Fn CRYPTO_mem_leaks_fp have no effect. .Sh RETURN VALUES -.Pp .Fn CRYPTO_set_mem_functions always returns 0. .Pp diff --git a/src/lib/libcrypto/man/OPENSSL_cleanse.3 b/src/lib/libcrypto/man/OPENSSL_cleanse.3 index b8fc7acad9..ec84e83b3e 100644 --- a/src/lib/libcrypto/man/OPENSSL_cleanse.3 +++ b/src/lib/libcrypto/man/OPENSSL_cleanse.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: OPENSSL_cleanse.3,v 1.1 2016/11/29 18:16:09 deraadt Exp $ +.\" $OpenBSD: OPENSSL_cleanse.3,v 1.2 2016/11/29 21:29:19 jmc Exp $ .\" .\" Copyright (c) 2016 Ingo Schwarze .\" @@ -15,23 +15,22 @@ .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" .Dd $Mdocdate: November 29 2016 $ -.Dt OPENSSL_cleanse 3 +.Dt OPENSSL_CLEANSE 3 .Os .Sh NAME .Nm OPENSSL_cleanse .Nd OpenSSL memory cleaning operation .Sh SYNOPSIS .In openssl/crypto.h -.Fc .Ft void .Fo OPENSSL_cleanse .Fa "void *ptr" .Fa "size_t len" .Fc .Sh DESCRIPTION -Do not use any of the interfaces documented here. -They are provided purely for compatibility with legacy application code. +Do not use the interface documented here. +It is provided purely for compatibility with legacy application code. .Pp .Fn OPENSSL_cleanse -has the same semantics as and is a wrapper around +has the same semantics as, and is a wrapper around, .Xr explicit_bzero 3 . diff --git a/src/lib/libcrypto/man/OPENSSL_malloc.3 b/src/lib/libcrypto/man/OPENSSL_malloc.3 index 0b762f66b6..5b841f1aac 100644 --- a/src/lib/libcrypto/man/OPENSSL_malloc.3 +++ b/src/lib/libcrypto/man/OPENSSL_malloc.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: OPENSSL_malloc.3,v 1.3 2016/11/29 18:16:09 deraadt Exp $ +.\" $OpenBSD: OPENSSL_malloc.3,v 1.4 2016/11/29 21:29:19 jmc Exp $ .\" .\" Copyright (c) 2016 Ingo Schwarze .\" @@ -25,7 +25,7 @@ .Nm CRYPTO_malloc , .Nm CRYPTO_realloc , .Nm CRYPTO_free , -.Nm CRYPTO_strdup , +.Nm CRYPTO_strdup .Nd legacy OpenSSL memory allocation wrappers .Sh SYNOPSIS .In openssl/crypto.h @@ -81,8 +81,8 @@ standard .Xr realloc 3 , .Xr free 3 , and -.Xr strdup 3 +.Xr strdup 3 functions. .Sh RETURN VALUES -These functions return same type and value as the corresponding +These functions return the same type and value as the corresponding standard functions. -- cgit v1.2.3-55-g6feb