aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKen Goldman <kgoldman@us.ibm.com>2018-06-02 16:17:32 -0400
committerRich Salz <rsalz@openssl.org>2018-06-02 16:17:32 -0400
commit6da34cfbddede5e46f9c9183b724c99999dcfb41 (patch)
treed06a2d8f354e44f3b38b320eaf034e15567510fd /doc
parent886c2e614fc1e78e658122bf6f6bccdd7dd23857 (diff)
downloadopenssl-6da34cfbddede5e46f9c9183b724c99999dcfb41.zip
openssl-6da34cfbddede5e46f9c9183b724c99999dcfb41.tar.gz
openssl-6da34cfbddede5e46f9c9183b724c99999dcfb41.tar.bz2
Document failure return for ECDSA_SIG_new
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)
Diffstat (limited to 'doc')
-rw-r--r--doc/man3/ECDSA_SIG_new.pod2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/man3/ECDSA_SIG_new.pod b/doc/man3/ECDSA_SIG_new.pod
index 72962f0..0bf63f8 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<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,