diff options
author | schwarze <> | 2018-02-25 16:26:15 +0000 |
---|---|---|
committer | schwarze <> | 2018-02-25 16:26:15 +0000 |
commit | ba5c2cc695ab25981e4c350070be6ff83f0387fc (patch) | |
tree | afe46f0f1801efcd0e90f02b716dd344561c80a0 /src | |
parent | 978b7da04f79f22369639ca399efc7f74824199d (diff) | |
download | openbsd-ba5c2cc695ab25981e4c350070be6ff83f0387fc.tar.gz openbsd-ba5c2cc695ab25981e4c350070be6ff83f0387fc.tar.bz2 openbsd-ba5c2cc695ab25981e4c350070be6ff83f0387fc.zip |
In x509_vfy.h rev. 1.21 2018/02/22 17:11:30, jsing@ provided
X509_STORE_CTX_get0_store(3). It is undocumented in OpenSSL,
so write some documentation from scratch.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/man/X509_STORE_CTX_new.3 | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/lib/libcrypto/man/X509_STORE_CTX_new.3 b/src/lib/libcrypto/man/X509_STORE_CTX_new.3 index 35027a7154..c83958b54f 100644 --- a/src/lib/libcrypto/man/X509_STORE_CTX_new.3 +++ b/src/lib/libcrypto/man/X509_STORE_CTX_new.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: X509_STORE_CTX_new.3,v 1.8 2018/02/25 16:04:07 schwarze Exp $ | 1 | .\" $OpenBSD: X509_STORE_CTX_new.3,v 1.9 2018/02/25 16:26:15 schwarze Exp $ |
2 | .\" full merge up to: OpenSSL 186bb907 Apr 13 11:05:13 2015 -0700 | 2 | .\" full merge up to: OpenSSL 186bb907 Apr 13 11:05:13 2015 -0700 |
3 | .\" selective merge up to: OpenSSL 7643a172 Apr 21 13:35:51 2017 +0200 | 3 | .\" selective merge up to: OpenSSL 7643a172 Apr 21 13:35:51 2017 +0200 |
4 | .\" | 4 | .\" |
@@ -58,6 +58,7 @@ | |||
58 | .Nm X509_STORE_CTX_cleanup , | 58 | .Nm X509_STORE_CTX_cleanup , |
59 | .Nm X509_STORE_CTX_free , | 59 | .Nm X509_STORE_CTX_free , |
60 | .Nm X509_STORE_CTX_init , | 60 | .Nm X509_STORE_CTX_init , |
61 | .Nm X509_STORE_CTX_get0_store , | ||
61 | .Nm X509_STORE_CTX_set0_trusted_stack , | 62 | .Nm X509_STORE_CTX_set0_trusted_stack , |
62 | .Nm X509_STORE_CTX_trusted_stack , | 63 | .Nm X509_STORE_CTX_trusted_stack , |
63 | .Nm X509_STORE_CTX_set_cert , | 64 | .Nm X509_STORE_CTX_set_cert , |
@@ -89,6 +90,10 @@ | |||
89 | .Fa "X509 *x509" | 90 | .Fa "X509 *x509" |
90 | .Fa "STACK_OF(X509) *chain" | 91 | .Fa "STACK_OF(X509) *chain" |
91 | .Fc | 92 | .Fc |
93 | .Ft X509_STORE * | ||
94 | .Fo X509_STORE_CTX_get0_store | ||
95 | .Fa "X509_STORE_CTX *ctx" | ||
96 | .Fc | ||
92 | .Ft void | 97 | .Ft void |
93 | .Fo X509_STORE_CTX_set0_trusted_stack | 98 | .Fo X509_STORE_CTX_set0_trusted_stack |
94 | .Fa "X509_STORE_CTX *ctx" | 99 | .Fa "X509_STORE_CTX *ctx" |
@@ -186,6 +191,12 @@ and | |||
186 | parameters can be | 191 | parameters can be |
187 | .Dv NULL . | 192 | .Dv NULL . |
188 | .Pp | 193 | .Pp |
194 | .Fn X509_STORE_CTX_get0_store | ||
195 | returns an internal pointer to the trusted certificate | ||
196 | .Fa store | ||
197 | that was set with | ||
198 | .Fn X509_STORE_CTX_init . | ||
199 | .Pp | ||
189 | .Fn X509_STORE_CTX_set0_trusted_stack | 200 | .Fn X509_STORE_CTX_set0_trusted_stack |
190 | sets the set of trusted certificates of | 201 | sets the set of trusted certificates of |
191 | .Fa ctx | 202 | .Fa ctx |
@@ -285,6 +296,13 @@ if an error occurred. | |||
285 | .Fn X509_STORE_CTX_init | 296 | .Fn X509_STORE_CTX_init |
286 | returns 1 for success or 0 if an error occurred. | 297 | returns 1 for success or 0 if an error occurred. |
287 | .Pp | 298 | .Pp |
299 | .Fn X509_STORE_CTX_get0_store | ||
300 | returns a pointer to the trusted certificate store or | ||
301 | .Dv NULL | ||
302 | if | ||
303 | .Fa ctx | ||
304 | was not initialised. | ||
305 | .Pp | ||
288 | .Fn X509_STORE_CTX_get0_param | 306 | .Fn X509_STORE_CTX_get0_param |
289 | returns a pointer to an | 307 | returns a pointer to an |
290 | .Vt X509_VERIFY_PARAM | 308 | .Vt X509_VERIFY_PARAM |