summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/d2i_DHparams.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/d2i_DHparams.3')
-rw-r--r--src/lib/libcrypto/man/d2i_DHparams.320
1 files changed, 16 insertions, 4 deletions
diff --git a/src/lib/libcrypto/man/d2i_DHparams.3 b/src/lib/libcrypto/man/d2i_DHparams.3
index b345af68ab..f7cc238899 100644
--- a/src/lib/libcrypto/man/d2i_DHparams.3
+++ b/src/lib/libcrypto/man/d2i_DHparams.3
@@ -1,9 +1,10 @@
1.\" $OpenBSD: d2i_DHparams.3,v 1.5 2016/12/10 22:22:59 schwarze Exp $ 1.\" $OpenBSD: d2i_DHparams.3,v 1.6 2018/02/16 17:54:23 schwarze Exp $
2.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 2.\" full merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800
3.\" 3.\"
4.\" This file was written by Ulf Moeller <ulf@openssl.org> and 4.\" This file was written by Ulf Moeller <ulf@openssl.org> and
5.\" Dr. Stephen Henson <steve@openssl.org>. 5.\" Dr. Stephen Henson <steve@openssl.org>.
6.\" Copyright (c) 2000, 2002, 2015 The OpenSSL Project. All rights reserved. 6.\" Copyright (c) 2000, 2002, 2015, 2017 The OpenSSL Project.
7.\" All rights reserved.
7.\" 8.\"
8.\" Redistribution and use in source and binary forms, with or without 9.\" Redistribution and use in source and binary forms, with or without
9.\" modification, are permitted provided that the following conditions 10.\" modification, are permitted provided that the following conditions
@@ -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: December 10 2016 $ 53.Dd $Mdocdate: February 16 2018 $
53.Dt D2I_DHPARAMS 3 54.Dt D2I_DHPARAMS 3
54.Os 55.Os
55.Sh NAME 56.Sh NAME
@@ -76,6 +77,17 @@ They otherwise behave in a way similar to
76.Xr d2i_X509 3 77.Xr d2i_X509 3
77and 78and
78.Xr i2d_X509 3 . 79.Xr i2d_X509 3 .
80.Sh RETURN VALUES
81.Fn d2i_DHparams
82returns a
83.Vt DH
84object or
85.Dv NULL
86if an error occurs.
87.Pp
88.Fn i2d_DHparams
89returns the number of bytes successfully encoded or a value <= 0
90if an error occurs.
79.Sh SEE ALSO 91.Sh SEE ALSO
80.Xr d2i_X509 3 , 92.Xr d2i_X509 3 ,
81.Xr DH_new 3 93.Xr DH_new 3