From 0a023a5515aff6d9ce022e0edc2515550ecd4024 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Fri, 21 Dec 2018 22:13:28 +0000 Subject: Document the ECDSA_SIG_new(3) return value. Inspired by OpenSSL commit 6da34cfb Jun 2 16:17:32 2018 -0400 by Ken Goldman , but use the same wording as in ASN1_item_new(3) instead. --- src/lib/libcrypto/man/ECDSA_SIG_new.3 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src') 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 @@ -.\" $OpenBSD: ECDSA_SIG_new.3,v 1.11 2018/03/23 23:18:17 schwarze Exp $ +.\" $OpenBSD: ECDSA_SIG_new.3,v 1.12 2018/12/21 22:13:28 schwarze Exp $ .\" full merge up to: OpenSSL e9b77246 Jan 20 19:58:49 2017 +0100 +.\" selective merge up to: OpenSSL 6da34cfb Jun 2 16:17:32 2018 -0400 .\" .\" This file was written by Nils Larsch . .\" Copyright (c) 2004, 2005, 2013, 2016 The OpenSSL Project. @@ -49,7 +50,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 23 2018 $ +.Dd $Mdocdate: December 21 2018 $ .Dt ECDSA_SIG_NEW 3 .Os .Sh NAME @@ -376,6 +377,13 @@ of size using the public key .Fa eckey . .Sh RETURN VALUES +.Fn ECDSA_SIG_new +returns the new +.Vt ECDSA_SIG +object or +.Dv NULL +if an error occurs. +.Pp .Fn ECDSA_size returns the maximum length signature or 0 on error. .Pp -- cgit v1.2.3-55-g6feb