diff options
author | Ken Goldman <kgoldman@us.ibm.com> | 2018-06-02 16:22:04 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2018-06-02 16:23:39 -0400 |
commit | 278f65eeabb28279661927ecbcc23e95aad34948 (patch) | |
tree | edc8980ec9d04d52049caf99e11d83d3282563c7 | |
parent | 1ac3cd6277f880fac4df313702d5e3b3814e56e2 (diff) |
Document failure return of 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)
(cherry picked from commit 6da34cfbddede5e46f9c9183b724c99999dcfb41)
-rw-r--r-- | doc/crypto/ecdsa.pod | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/crypto/ecdsa.pod b/doc/crypto/ecdsa.pod index 46c071b733..5708d90674 100644 --- a/doc/crypto/ecdsa.pod +++ b/doc/crypto/ecdsa.pod @@ -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 |