From 691660be711e14a9577e94f1778af5310c0fe4d2 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Tue, 4 Jun 2019 18:31:33 +0000 Subject: OPENSSL_realloc(3) is no longer used, we now use reallocarray(3) --- src/lib/libcrypto/man/lh_new.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 @@ -.\" $OpenBSD: lh_new.3,v 1.4 2018/03/27 17:35:50 schwarze Exp $ +.\" $OpenBSD: lh_new.3,v 1.5 2019/06/04 18:31:33 schwarze Exp $ .\" OpenSSL 1bc74519 May 20 08:11:46 2016 -0400 .\" .\" -------------------------------------------------------------------------- @@ -115,7 +115,7 @@ .\" copied and put under another distribution licence .\" [including the GNU Public Licence.] .\" -.Dd $Mdocdate: March 27 2018 $ +.Dd $Mdocdate: June 4 2019 $ .Dt LH_NEW 3 .Os .Sh NAME @@ -464,7 +464,7 @@ The lhash library implements a hash table described in the in 1991. What makes this hash table different is that as the table fills, the hash table is increased (or decreased) in size via -.Xr OPENSSL_realloc 3 . +.Xr reallocarray 3 . When a 'resize' is done, instead of all hashes being redistributed over twice as many 'buckets', one bucket is split. So when an 'expand' is done, there is only a minimal cost to -- cgit v1.2.3-55-g6feb