summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschwarze <>2018-12-21 21:54:48 +0000
committerschwarze <>2018-12-21 21:54:48 +0000
commit1e19cbe605b02a029e98aea5e964c005c6e33cae (patch)
tree58d008267016baf2b273541d7b18795590e17c3e
parent3d49342897eea4877b76d8bfeff64559d761b46c (diff)
downloadopenbsd-1e19cbe605b02a029e98aea5e964c005c6e33cae.tar.gz
openbsd-1e19cbe605b02a029e98aea5e964c005c6e33cae.tar.bz2
openbsd-1e19cbe605b02a029e98aea5e964c005c6e33cae.zip
Clarify behaviour of DH_get0_pqg(3) and DH_get0_key(3) with NULL arguments;
from <Matthias dot St dot Pierre at ncp dash e dot com> via OpenSSL commit 5777254b May 27 09:07:07 2018 +0200.
-rw-r--r--src/lib/libcrypto/man/DH_get0_pqg.323
1 files changed, 19 insertions, 4 deletions
diff --git a/src/lib/libcrypto/man/DH_get0_pqg.3 b/src/lib/libcrypto/man/DH_get0_pqg.3
index cff96243b2..5a115b71d0 100644
--- a/src/lib/libcrypto/man/DH_get0_pqg.3
+++ b/src/lib/libcrypto/man/DH_get0_pqg.3
@@ -1,8 +1,8 @@
1.\" $OpenBSD: DH_get0_pqg.3,v 1.4 2018/03/23 23:18:17 schwarze Exp $ 1.\" $OpenBSD: DH_get0_pqg.3,v 1.5 2018/12/21 21:54:48 schwarze Exp $
2.\" selective merge up to: OpenSSL 7966101e Sep 18 11:58:24 2017 -0400 2.\" selective merge up to: OpenSSL 83cf7abf May 29 13:07:08 2018 +0100
3.\" 3.\"
4.\" This file was written by Matt Caswell <matt@openssl.org>. 4.\" This file was written by Matt Caswell <matt@openssl.org>.
5.\" Copyright (c) 2016 The OpenSSL Project. All rights reserved. 5.\" Copyright (c) 2016, 2018 The OpenSSL Project. All rights reserved.
6.\" 6.\"
7.\" Redistribution and use in source and binary forms, with or without 7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions 8.\" modification, are permitted provided that the following conditions
@@ -48,7 +48,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 49.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 50.\"
51.Dd $Mdocdate: March 23 2018 $ 51.Dd $Mdocdate: December 21 2018 $
52.Dt DH_GET0_PQG 3 52.Dt DH_GET0_PQG 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -143,6 +143,14 @@ are set to
143.Dv NULL . 143.Dv NULL .
144Otherwise, they are set to pointers to the internal representations 144Otherwise, they are set to pointers to the internal representations
145of the values that should not be freed by the application. 145of the values that should not be freed by the application.
146Any of the out parameters
147.Fa p ,
148.Fa q ,
149and
150.Fa g
151can be
152.Dv NULL ,
153in which case no value is returned for that parameter.
146.Pp 154.Pp
147The 155The
148.Fa p , 156.Fa p ,
@@ -170,6 +178,13 @@ Either may be
170.Dv NULL 178.Dv NULL
171if it has not yet been set. 179if it has not yet been set.
172If the private key has been set, then the public key must be. 180If the private key has been set, then the public key must be.
181Any of the out parameters
182.Fa pub_key
183and
184.Fa priv_key
185can be
186.Dv NULL ,
187in which case no value is returned for that parameter.
173.Pp 188.Pp
174The public and private key values can be set using 189The public and private key values can be set using
175.Fn DH_set0_key . 190.Fn DH_set0_key .