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:17:32 +0000 (16:17 -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)

doc/man3/ECDSA_SIG_new.pod

index 72962f0fbf035ac0ea9916c680396ee0505c3133..0bf63f8bde80884fdb26eef1d74e916c2201950e 100644 (file)
@@ -121,6 +121,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_SIG_get0_r() and ECDSA_SIG_get0_s() return the corresponding value,