From: Ken Goldman Date: Sat, 2 Jun 2018 20:17:32 +0000 (-0400) Subject: Document failure return for ECDSA_SIG_new X-Git-Tag: OpenSSL_1_1_1-pre8~94 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6da34cfbddede5e46f9c9183b724c99999dcfb41;p=oweals%2Fopenssl.git 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) --- 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,