]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Document failure return of ECDSA_SIG_new
authorKen Goldman <kgoldman@us.ibm.com>
Sat, 2 Jun 2018 20:22:04 +0000 (16:22 -0400)
committerRich Salz <rsalz@openssl.org>
Sat, 2 Jun 2018 20:23:39 +0000 (16:23 -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.pod

index 46c071b73308784a86d8f2511c70f6f9b169b19e..5708d90674b7801ab7c8c72abe2cb3a44663ff9f 100644 (file)
@@ -112,6 +112,8 @@ using the public key B<eckey>.
 
 =head1 RETURN VALUES
 
+ECDSA_SIG_new() returns NULL if the allocation fails.
+
 ECDSA_size() returns the maximum length signature or 0 on error.
 
 ECDSA_sign_setup() and ECDSA_sign() return 1 if successful or 0