summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschwarze <>2019-06-04 18:31:33 +0000
committerschwarze <>2019-06-04 18:31:33 +0000
commit691660be711e14a9577e94f1778af5310c0fe4d2 (patch)
treef7007400e45715ff09c91c8eb768c8ac14578bea /src
parentb31a62d089dde48119b22b2dc6bc6f83c833dd4d (diff)
downloadopenbsd-691660be711e14a9577e94f1778af5310c0fe4d2.tar.gz
openbsd-691660be711e14a9577e94f1778af5310c0fe4d2.tar.bz2
openbsd-691660be711e14a9577e94f1778af5310c0fe4d2.zip
OPENSSL_realloc(3) is no longer used, we now use reallocarray(3)
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/lh_new.36
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/lh_new.3 b/src/lib/libcrypto/man/lh_new.3
index 3be32cf675..34702eeb84 100644
--- a/src/lib/libcrypto/man/lh_new.3
+++ b/src/lib/libcrypto/man/lh_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: lh_new.3,v 1.4 2018/03/27 17:35:50 schwarze Exp $ 1.\" $OpenBSD: lh_new.3,v 1.5 2019/06/04 18:31:33 schwarze Exp $
2.\" OpenSSL 1bc74519 May 20 08:11:46 2016 -0400 2.\" OpenSSL 1bc74519 May 20 08:11:46 2016 -0400
3.\" 3.\"
4.\" -------------------------------------------------------------------------- 4.\" --------------------------------------------------------------------------
@@ -115,7 +115,7 @@
115.\" copied and put under another distribution licence 115.\" copied and put under another distribution licence
116.\" [including the GNU Public Licence.] 116.\" [including the GNU Public Licence.]
117.\" 117.\"
118.Dd $Mdocdate: March 27 2018 $ 118.Dd $Mdocdate: June 4 2019 $
119.Dt LH_NEW 3 119.Dt LH_NEW 3
120.Os 120.Os
121.Sh NAME 121.Sh NAME
@@ -464,7 +464,7 @@ The lhash library implements a hash table described in the
464in 1991. 464in 1991.
465What makes this hash table different is that as the table fills, 465What makes this hash table different is that as the table fills,
466the hash table is increased (or decreased) in size via 466the hash table is increased (or decreased) in size via
467.Xr OPENSSL_realloc 3 . 467.Xr reallocarray 3 .
468When a 'resize' is done, instead of all hashes being redistributed over 468When a 'resize' is done, instead of all hashes being redistributed over
469twice as many 'buckets', one bucket is split. 469twice as many 'buckets', one bucket is split.
470So when an 'expand' is done, there is only a minimal cost to 470So when an 'expand' is done, there is only a minimal cost to