diff options
author | schwarze <> | 2018-12-21 22:13:28 +0000 |
---|---|---|
committer | schwarze <> | 2018-12-21 22:13:28 +0000 |
commit | 0a023a5515aff6d9ce022e0edc2515550ecd4024 (patch) | |
tree | ffa328d38eb5358f108dd1fb5b788f10892715ba /src | |
parent | 1e19cbe605b02a029e98aea5e964c005c6e33cae (diff) | |
download | openbsd-0a023a5515aff6d9ce022e0edc2515550ecd4024.tar.gz openbsd-0a023a5515aff6d9ce022e0edc2515550ecd4024.tar.bz2 openbsd-0a023a5515aff6d9ce022e0edc2515550ecd4024.zip |
Document the ECDSA_SIG_new(3) return value.
Inspired by OpenSSL commit 6da34cfb Jun 2 16:17:32 2018 -0400
by Ken Goldman <kgoldman at us dot ibm dot com>,
but use the same wording as in ASN1_item_new(3) instead.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/man/ECDSA_SIG_new.3 | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/ECDSA_SIG_new.3 b/src/lib/libcrypto/man/ECDSA_SIG_new.3 index 7a6fa4fa78..9a9d5ed167 100644 --- a/src/lib/libcrypto/man/ECDSA_SIG_new.3 +++ b/src/lib/libcrypto/man/ECDSA_SIG_new.3 | |||
@@ -1,5 +1,6 @@ | |||
1 | .\" $OpenBSD: ECDSA_SIG_new.3,v 1.11 2018/03/23 23:18:17 schwarze Exp $ | 1 | .\" $OpenBSD: ECDSA_SIG_new.3,v 1.12 2018/12/21 22:13:28 schwarze Exp $ |
2 | .\" full merge up to: OpenSSL e9b77246 Jan 20 19:58:49 2017 +0100 | 2 | .\" full merge up to: OpenSSL e9b77246 Jan 20 19:58:49 2017 +0100 |
3 | .\" selective merge up to: OpenSSL 6da34cfb Jun 2 16:17:32 2018 -0400 | ||
3 | .\" | 4 | .\" |
4 | .\" This file was written by Nils Larsch <nils@openssl.org>. | 5 | .\" This file was written by Nils Larsch <nils@openssl.org>. |
5 | .\" Copyright (c) 2004, 2005, 2013, 2016 The OpenSSL Project. | 6 | .\" Copyright (c) 2004, 2005, 2013, 2016 The OpenSSL Project. |
@@ -49,7 +50,7 @@ | |||
49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 50 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 51 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
51 | .\" | 52 | .\" |
52 | .Dd $Mdocdate: March 23 2018 $ | 53 | .Dd $Mdocdate: December 21 2018 $ |
53 | .Dt ECDSA_SIG_NEW 3 | 54 | .Dt ECDSA_SIG_NEW 3 |
54 | .Os | 55 | .Os |
55 | .Sh NAME | 56 | .Sh NAME |
@@ -376,6 +377,13 @@ of size | |||
376 | using the public key | 377 | using the public key |
377 | .Fa eckey . | 378 | .Fa eckey . |
378 | .Sh RETURN VALUES | 379 | .Sh RETURN VALUES |
380 | .Fn ECDSA_SIG_new | ||
381 | returns the new | ||
382 | .Vt ECDSA_SIG | ||
383 | object or | ||
384 | .Dv NULL | ||
385 | if an error occurs. | ||
386 | .Pp | ||
379 | .Fn ECDSA_size | 387 | .Fn ECDSA_size |
380 | returns the maximum length signature or 0 on error. | 388 | returns the maximum length signature or 0 on error. |
381 | .Pp | 389 | .Pp |