From f08a3b14e4fb995144ba6bcac49e92ef93207874 Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Mon, 8 May 2017 04:16:06 +0000 Subject: BUF_MEM_grow_clean() returns an int, not a size_t. Humourously, on success it returns "len", which is a size_t value, as an int... --- lib/libcrypto/man/BUF_MEM_new.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libcrypto') diff --git a/lib/libcrypto/man/BUF_MEM_new.3 b/lib/libcrypto/man/BUF_MEM_new.3 index 8a5b367a077..70d2fe09a02 100644 --- a/lib/libcrypto/man/BUF_MEM_new.3 +++ b/lib/libcrypto/man/BUF_MEM_new.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: BUF_MEM_new.3,v 1.10 2016/12/16 08:49:43 schwarze Exp $ +.\" $OpenBSD: BUF_MEM_new.3,v 1.11 2017/05/08 04:16:05 jsing Exp $ .\" OpenSSL doc/crypto/buffer.pod 18edda0f Sep 20 03:28:54 2000 +0000 .\" not merged: 74924dcb, 58e3457a, 21b0fa91, 7644a9ae .\" OpenSSL doc/crypto/BUF_MEM_new.pod 53934822 Jun 9 16:39:19 2016 -0400 @@ -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: December 16 2016 $ +.Dd $Mdocdate: May 8 2017 $ .Dt BUF_MEM_NEW 3 .Os .Sh NAME @@ -78,7 +78,7 @@ .Fa "BUF_MEM *str" .Fa "size_t len" .Fc -.Ft size_t +.Ft int .Fo BUF_MEM_grow_clean .Fa "BUF_MEM *str" .Fa "size_t len" -- cgit v1.2.3