diff options
author | claudio <> | 2019-12-05 14:38:56 +0000 |
---|---|---|
committer | claudio <> | 2019-12-05 14:38:56 +0000 |
commit | ff57cabdd7622eff4a5cdce352911a75a1598396 (patch) | |
tree | 4498cfed1e575d62fc24638b619136e24c20a7ca | |
parent | dfa6bf4db714c12f976de0d9b0372dd26bb28499 (diff) | |
download | openbsd-ff57cabdd7622eff4a5cdce352911a75a1598396.tar.gz openbsd-ff57cabdd7622eff4a5cdce352911a75a1598396.tar.bz2 openbsd-ff57cabdd7622eff4a5cdce352911a75a1598396.zip |
Document X509_STORE_CTX_set_flags() which is a handy way to change the
verification param flags of a context. While this function is marked as
likely to be deprecated in OpenSSL it seems that this may not happen.
This is why we decided to still document it.
OK and input from ingo@ tb@
-rw-r--r-- | src/lib/libcrypto/man/X509_STORE_CTX_new.3 | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/X509_STORE_CTX_new.3 b/src/lib/libcrypto/man/X509_STORE_CTX_new.3 index 84f75244eb..bcacb99094 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.19 2019/06/06 01:06:59 schwarze Exp $ | 1 | .\" $OpenBSD: X509_STORE_CTX_new.3,v 1.20 2019/12/05 14:38:56 claudio 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 | .\" |
@@ -50,7 +50,7 @@ | |||
50 | .\" 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 |
51 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 51 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
52 | .\" | 52 | .\" |
53 | .Dd $Mdocdate: June 6 2019 $ | 53 | .Dd $Mdocdate: December 5 2019 $ |
54 | .Dt X509_STORE_CTX_NEW 3 | 54 | .Dt X509_STORE_CTX_NEW 3 |
55 | .Os | 55 | .Os |
56 | .Sh NAME | 56 | .Sh NAME |
@@ -65,6 +65,7 @@ | |||
65 | .\" X509_STORE_CTX_get0_chain moved to X509_STORE_CTX_get_error(3) | 65 | .\" X509_STORE_CTX_get0_chain moved to X509_STORE_CTX_get_error(3) |
66 | .Nm X509_STORE_CTX_set_chain , | 66 | .Nm X509_STORE_CTX_set_chain , |
67 | .Nm X509_STORE_CTX_set0_crls , | 67 | .Nm X509_STORE_CTX_set0_crls , |
68 | .Nm X509_STORE_CTX_set_flags , | ||
68 | .Nm X509_STORE_CTX_get0_param , | 69 | .Nm X509_STORE_CTX_get0_param , |
69 | .Nm X509_STORE_CTX_set0_param , | 70 | .Nm X509_STORE_CTX_set0_param , |
70 | .Nm X509_STORE_CTX_get0_untrusted , | 71 | .Nm X509_STORE_CTX_get0_untrusted , |
@@ -119,6 +120,11 @@ | |||
119 | .Fa "X509_STORE_CTX *ctx" | 120 | .Fa "X509_STORE_CTX *ctx" |
120 | .Fa "STACK_OF(X509_CRL) *sk" | 121 | .Fa "STACK_OF(X509_CRL) *sk" |
121 | .Fc | 122 | .Fc |
123 | .Ft void | ||
124 | .Fo X509_STORE_CTX_set_flags | ||
125 | .Fa "X509_STORE_CTX *ctx" | ||
126 | .Fa "unsigned long flags" | ||
127 | .Fc | ||
122 | .Ft X509_VERIFY_PARAM * | 128 | .Ft X509_VERIFY_PARAM * |
123 | .Fo X509_STORE_CTX_get0_param | 129 | .Fo X509_STORE_CTX_get0_param |
124 | .Fa "X509_STORE_CTX *ctx" | 130 | .Fa "X509_STORE_CTX *ctx" |
@@ -231,6 +237,13 @@ structure. | |||
231 | This might be used where additional "useful" CRLs are supplied as part | 237 | This might be used where additional "useful" CRLs are supplied as part |
232 | of a protocol, for example in a PKCS#7 structure. | 238 | of a protocol, for example in a PKCS#7 structure. |
233 | .Pp | 239 | .Pp |
240 | .Fn X509_STORE_CTX_set_flags | ||
241 | sets the internal verification parameter flags to | ||
242 | .Fa flags . | ||
243 | See | ||
244 | .Xr X509_VERIFY_PARAM_set_flags 3 | ||
245 | for a description of the verification flags. | ||
246 | .Pp | ||
234 | .Fn X509_STORE_CTX_get0_param | 247 | .Fn X509_STORE_CTX_get0_param |
235 | retrieves an internal pointer to the verification parameters associated | 248 | retrieves an internal pointer to the verification parameters associated |
236 | with | 249 | with |
@@ -339,7 +352,9 @@ first appeared in OpenSSL 0.9.5 and have been available since | |||
339 | .Ox 2.7 . | 352 | .Ox 2.7 . |
340 | .Pp | 353 | .Pp |
341 | .Fn X509_STORE_CTX_trusted_stack | 354 | .Fn X509_STORE_CTX_trusted_stack |
342 | first appeared in OpenSSL 0.9.6 and has been available since | 355 | and |
356 | .Fn X509_STORE_CTX_set_flags | ||
357 | first appeared in OpenSSL 0.9.6 and have been available since | ||
343 | .Ox 2.9 . | 358 | .Ox 2.9 . |
344 | .Pp | 359 | .Pp |
345 | .Fn X509_STORE_CTX_set0_crls , | 360 | .Fn X509_STORE_CTX_set0_crls , |