summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschwarze <>2018-12-21 22:13:28 +0000
committerschwarze <>2018-12-21 22:13:28 +0000
commit0a023a5515aff6d9ce022e0edc2515550ecd4024 (patch)
treeffa328d38eb5358f108dd1fb5b788f10892715ba /src
parent1e19cbe605b02a029e98aea5e964c005c6e33cae (diff)
downloadopenbsd-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.312
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
376using the public key 377using the public key
377.Fa eckey . 378.Fa eckey .
378.Sh RETURN VALUES 379.Sh RETURN VALUES
380.Fn ECDSA_SIG_new
381returns the new
382.Vt ECDSA_SIG
383object or
384.Dv NULL
385if an error occurs.
386.Pp
379.Fn ECDSA_size 387.Fn ECDSA_size
380returns the maximum length signature or 0 on error. 388returns the maximum length signature or 0 on error.
381.Pp 389.Pp