summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2018-04-02 01:35:37 +0000
committerschwarze <schwarze@openbsd.org>2018-04-02 01:35:37 +0000
commit797aad80076826acf253bd0e26a2dc6719c6b48d (patch)
tree6b4edea3188ba9ff43ca5bfa9d352c99cb12ebfe
parentIn x509_vfy.h rev. 1.25 2018/03/17 15:39:43, tb@ provided (diff)
downloadwireguard-openbsd-797aad80076826acf253bd0e26a2dc6719c6b48d.tar.xz
wireguard-openbsd-797aad80076826acf253bd0e26a2dc6719c6b48d.zip
In x509_vfy.h rev. 1.26 2018/03/17 15:43:32, tb@ provided
X509_STORE_get0_param(3); write the documentation from scratch.
-rw-r--r--lib/libcrypto/man/X509_STORE_set1_param.320
1 files changed, 14 insertions, 6 deletions
diff --git a/lib/libcrypto/man/X509_STORE_set1_param.3 b/lib/libcrypto/man/X509_STORE_set1_param.3
index b7b2ceab428..ea6e399e540 100644
--- a/lib/libcrypto/man/X509_STORE_set1_param.3
+++ b/lib/libcrypto/man/X509_STORE_set1_param.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: X509_STORE_set1_param.3,v 1.14 2018/03/30 00:44:24 schwarze Exp $
+.\" $OpenBSD: X509_STORE_set1_param.3,v 1.15 2018/04/02 01:35:37 schwarze Exp $
.\" content checked up to:
.\" OpenSSL man3/X509_STORE_add_cert b0edda11 Mar 20 13:00:17 2018 +0000
.\" OpenSSL man3/X509_STORE_get0_param e90fc053 Jul 15 09:39:45 2017 -0400
@@ -17,7 +17,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: March 30 2018 $
+.Dd $Mdocdate: April 2 2018 $
.Dt X509_STORE_SET1_PARAM 3
.Os
.Sh NAME
@@ -28,6 +28,7 @@
.Nm X509_STORE_set_depth ,
.Nm X509_STORE_add_cert ,
.Nm X509_STORE_add_crl ,
+.Nm X509_STORE_get0_param ,
.Nm X509_STORE_get0_objects ,
.Nm X509_STORE_get_ex_new_index ,
.Nm X509_STORE_set_ex_data ,
@@ -70,6 +71,10 @@
.Fa "X509_STORE *store"
.Fa "X509_CRL *crl"
.Fc
+.Ft X509_VERIFY_PARAM *
+.Fo X509_STORE_get0_param
+.Fa "X509_STORE *store"
+.Fc
.Ft STACK_OF(X509_OBJECT) *
.Fo X509_STORE_get0_objects
.Fa "X509_STORE *store"
@@ -169,11 +174,13 @@ are already contained in the
.Fa store ,
or if memory allocation fails.
.Pp
+.Fn X509_STORE_get0_param
+returns an internal pointer to the verification parameter object
+contained in the
+.Fa store ,
.Fn X509_STORE_get0_objects
-returns an internal pointer to the stack of certificates, revocation lists,
-and private keys contained in the
-.Fa store .
-The returned pointer must not be freed by the calling application.
+to the stack of certificates, revocation lists, and private keys.
+The returned pointers must not be freed by the calling application.
.Pp
.Fn X509_STORE_get_ex_new_index
returns a new index or \-1 on failure.
@@ -210,6 +217,7 @@ and
first appeared in OpenSSL 0.9.8 and have been available since
.Ox 4.5 .
.Pp
+.Fn X509_STORE_get0_param ,
.Fn X509_STORE_get0_objects ,
.Fn X509_STORE_get_ex_new_index ,
.Fn X509_STORE_set_ex_data ,