summaryrefslogtreecommitdiff
path: root/lib/libcrypto
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2019-08-16 16:20:24 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2019-08-16 16:20:24 +0000
commit3f12f72e1756ae938ea811ddf3eb974ea1d5730d (patch)
tree900729c2d3e564e6819d8149bcabd4b07c48658b /lib/libcrypto
parent89182be0bac20f906d76b36e976f0c202eb68f43 (diff)
link to the new EC_KEY_METHOD_new(3) page
and mention a trap set by EC_KEY_copy(3)
Diffstat (limited to 'lib/libcrypto')
-rw-r--r--lib/libcrypto/man/EC_KEY_new.39
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libcrypto/man/EC_KEY_new.3 b/lib/libcrypto/man/EC_KEY_new.3
index c77233b4ee8..70e3a655f85 100644
--- a/lib/libcrypto/man/EC_KEY_new.3
+++ b/lib/libcrypto/man/EC_KEY_new.3
@@ -1,5 +1,6 @@
-.\" $OpenBSD: EC_KEY_new.3,v 1.13 2018/03/23 23:18:17 schwarze Exp $
-.\" OpenSSL d900a015 Oct 8 14:40:42 2015 +0200
+.\" $OpenBSD: EC_KEY_new.3,v 1.14 2019/08/16 16:20:23 schwarze Exp $
+.\" full merge up to: OpenSSL 3aef36ff Jan 5 13:06:03 2016 -0500
+.\" partial merge up to: OpenSSL e9b77246 Jan 20 19:58:49 2017 +0100
.\"
.\" This file was written by Matt Caswell <matt@openssl.org>.
.\" Copyright (c) 2013, 2014 The OpenSSL Project. All rights reserved.
@@ -48,7 +49,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: August 16 2019 $
.Dt EC_KEY_NEW 3
.Os
.Sh NAME
@@ -486,6 +487,7 @@ returns the flags associated with the
returns a pointer to the destination key or
.Dv NULL
on error.
+In the latter case, part of the content may already have been copied.
.Pp
.Fn EC_KEY_up_ref ,
.Fn EC_KEY_set_group ,
@@ -522,6 +524,7 @@ returns the point_conversion_form for the
.Xr EC_GFp_simple_method 3 ,
.Xr EC_GROUP_copy 3 ,
.Xr EC_GROUP_new 3 ,
+.Xr EC_KEY_METHOD_new 3 ,
.Xr EC_POINT_add 3 ,
.Xr EC_POINT_new 3 ,
.Xr ECDSA_SIG_new 3 ,