diff options
author | Ken Goldman <kgoldman@us.ibm.com> | 2018-06-02 16:17:32 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2018-06-02 16:17:32 -0400 |
commit | 6da34cfbddede5e46f9c9183b724c99999dcfb41 (patch) | |
tree | d06a2d8f354e44f3b38b320eaf034e15567510fd /doc/man3/ECDSA_SIG_new.pod | |
parent | 886c2e614fc1e78e658122bf6f6bccdd7dd23857 (diff) | |
download | openssl-6da34cfbddede5e46f9c9183b724c99999dcfb41.tar.gz |
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/man3/ECDSA_SIG_new.pod')
-rw-r--r-- | doc/man3/ECDSA_SIG_new.pod | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/man3/ECDSA_SIG_new.pod b/doc/man3/ECDSA_SIG_new.pod index 72962f0fbf..0bf63f8bde 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, |