From 6da34cfbddede5e46f9c9183b724c99999dcfb41 Mon Sep 17 00:00:00 2001 From: Ken Goldman Date: Sat, 2 Jun 2018 16:17:32 -0400 Subject: [PATCH] Document failure return for ECDSA_SIG_new ECDSA_SIG_new() returns NULL on error. Reviewed-by: Matthias St. Pierre Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/6398) --- doc/man3/ECDSA_SIG_new.pod | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/man3/ECDSA_SIG_new.pod b/doc/man3/ECDSA_SIG_new.pod index 72962f0fbf..0bf63f8bde 100644 --- a/doc/man3/ECDSA_SIG_new.pod +++ b/doc/man3/ECDSA_SIG_new.pod @@ -121,6 +121,8 @@ returned as a newly allocated B structure (or NULL on error). =head1 RETURN VALUES +ECDSA_SIG_new() returns NULL if the allocation fails. + ECDSA_SIG_set0() returns 1 on success or 0 on failure. ECDSA_SIG_get0_r() and ECDSA_SIG_get0_s() return the corresponding value, -- 2.25.1