Document failure return for ECDSA_SIG_new
authorKen Goldman <kgoldman@us.ibm.com>
Sat, 2 Jun 2018 20:17:32 +0000 (16:17 -0400)
committerRich Salz <rsalz@openssl.org>
Sat, 2 Jun 2018 20:19:16 +0000 (16:19 -0400)
ECDSA_SIG_new() returns NULL on error.

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6398)

(cherry picked from commit 6da34cfbddede5e46f9c9183b724c99999dcfb41)

doc/crypto/ECDSA_SIG_new.pod

index 9e1f662c621f10c553e7c20403df3d1df859ebdc..3920b96b981cc14a24f9d4cea88097e77cacc7b5 100644 (file)
@@ -114,6 +114,8 @@ returned as a newly allocated B<ECDSA_SIG> 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.