summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2016-11-29 21:29:19 +0000
committerjmc <jmc@openbsd.org>2016-11-29 21:29:19 +0000
commitc1e728582e31108f85a8dce31fc62b09004752bd (patch)
tree3605af41bb3e9a4b96879a2753c75988c56c193a
parentsync (diff)
downloadwireguard-openbsd-c1e728582e31108f85a8dce31fc62b09004752bd.tar.xz
wireguard-openbsd-c1e728582e31108f85a8dce31fc62b09004752bd.zip
tweak previous;
-rw-r--r--lib/libcrypto/man/CRYPTO_get_mem_functions.37
-rw-r--r--lib/libcrypto/man/OPENSSL_cleanse.311
-rw-r--r--lib/libcrypto/man/OPENSSL_malloc.38
3 files changed, 12 insertions, 14 deletions
diff --git a/lib/libcrypto/man/CRYPTO_get_mem_functions.3 b/lib/libcrypto/man/CRYPTO_get_mem_functions.3
index a0bfb8a1d50..0a1ca384a89 100644
--- a/lib/libcrypto/man/CRYPTO_get_mem_functions.3
+++ b/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 <schwarze@openbsd.org>
.\"
@@ -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/lib/libcrypto/man/OPENSSL_cleanse.3 b/lib/libcrypto/man/OPENSSL_cleanse.3
index b8fc7acad9e..ec84e83b3e0 100644
--- a/lib/libcrypto/man/OPENSSL_cleanse.3
+++ b/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 <schwarze@openbsd.org>
.\"
@@ -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/lib/libcrypto/man/OPENSSL_malloc.3 b/lib/libcrypto/man/OPENSSL_malloc.3
index 0b762f66b6c..5b841f1aac7 100644
--- a/lib/libcrypto/man/OPENSSL_malloc.3
+++ b/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 <schwarze@openbsd.org>
.\"
@@ -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.