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_0i~94 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=78641aacb777147eeca698faf1376761d005ad39;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) (cherry picked from commit 6da34cfbddede5e46f9c9183b724c99999dcfb41) --- diff --git a/doc/crypto/ECDSA_SIG_new.pod b/doc/crypto/ECDSA_SIG_new.pod index 9e1f662c62..3920b96b98 100644 --- a/doc/crypto/ECDSA_SIG_new.pod +++ b/doc/crypto/ECDSA_SIG_new.pod @@ -114,6 +114,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_size() returns the maximum length signature or 0 on error.