diff options
| author | tb <> | 2024-04-14 10:56:18 +0000 |
|---|---|---|
| committer | tb <> | 2024-04-14 10:56:18 +0000 |
| commit | 449d54bc5c24d0cbb5d2498589a43e58047323d6 (patch) | |
| tree | ce0ec3bcdb949d10529eb4bf85579a3d3e470f46 | |
| parent | ee9a57f6e037b63c151f6e375585b15eb6c8e467 (diff) | |
| download | openbsd-449d54bc5c24d0cbb5d2498589a43e58047323d6.tar.gz openbsd-449d54bc5c24d0cbb5d2498589a43e58047323d6.tar.bz2 openbsd-449d54bc5c24d0cbb5d2498589a43e58047323d6.zip | |
Remove documentation of no longer available API
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/man/X509_LOOKUP_new.3 | 89 |
1 files changed, 4 insertions, 85 deletions
diff --git a/src/lib/libcrypto/man/X509_LOOKUP_new.3 b/src/lib/libcrypto/man/X509_LOOKUP_new.3 index f368cbb606..964594cde6 100644 --- a/src/lib/libcrypto/man/X509_LOOKUP_new.3 +++ b/src/lib/libcrypto/man/X509_LOOKUP_new.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: X509_LOOKUP_new.3,v 1.9 2021/11/12 14:05:28 schwarze Exp $ | 1 | .\" $OpenBSD: X509_LOOKUP_new.3,v 1.10 2024/04/14 10:56:18 tb Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> | 3 | .\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> |
| 4 | .\" | 4 | .\" |
| @@ -14,22 +14,15 @@ | |||
| 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 16 | .\" | 16 | .\" |
| 17 | .Dd $Mdocdate: November 12 2021 $ | 17 | .Dd $Mdocdate: April 14 2024 $ |
| 18 | .Dt X509_LOOKUP_NEW 3 | 18 | .Dt X509_LOOKUP_NEW 3 |
| 19 | .Os | 19 | .Os |
| 20 | .Sh NAME | 20 | .Sh NAME |
| 21 | .Nm X509_LOOKUP_new , | ||
| 22 | .Nm X509_LOOKUP_free , | 21 | .Nm X509_LOOKUP_free , |
| 23 | .Nm X509_LOOKUP_ctrl , | 22 | .Nm X509_LOOKUP_ctrl , |
| 24 | .Nm X509_LOOKUP_add_dir , | 23 | .Nm X509_LOOKUP_add_dir , |
| 25 | .Nm X509_LOOKUP_load_file , | 24 | .Nm X509_LOOKUP_load_file , |
| 26 | .Nm X509_LOOKUP_add_mem , | 25 | .Nm X509_LOOKUP_add_mem , |
| 27 | .Nm X509_LOOKUP_by_subject , | ||
| 28 | .Nm X509_LOOKUP_init , | ||
| 29 | .Nm X509_LOOKUP_shutdown , | ||
| 30 | .Nm X509_LOOKUP_by_issuer_serial , | ||
| 31 | .Nm X509_LOOKUP_by_fingerprint , | ||
| 32 | .Nm X509_LOOKUP_by_alias , | ||
| 33 | .Nm X509_get_default_cert_dir , | 26 | .Nm X509_get_default_cert_dir , |
| 34 | .Nm X509_get_default_cert_file , | 27 | .Nm X509_get_default_cert_file , |
| 35 | .Nm X509_get_default_cert_dir_env , | 28 | .Nm X509_get_default_cert_dir_env , |
| @@ -40,8 +33,6 @@ | |||
| 40 | .Nd certificate lookup object | 33 | .Nd certificate lookup object |
| 41 | .Sh SYNOPSIS | 34 | .Sh SYNOPSIS |
| 42 | .In openssl/x509_vfy.h | 35 | .In openssl/x509_vfy.h |
| 43 | .Ft X509_LOOKUP * | ||
| 44 | .Fn X509_LOOKUP_new "X509_LOOKUP_METHOD *method" | ||
| 45 | .Ft void | 36 | .Ft void |
| 46 | .Fn X509_LOOKUP_free "X509_LOOKUP *lookup" | 37 | .Fn X509_LOOKUP_free "X509_LOOKUP *lookup" |
| 47 | .Ft int | 38 | .Ft int |
| @@ -70,41 +61,6 @@ | |||
| 70 | .Fa "const struct iovec *source" | 61 | .Fa "const struct iovec *source" |
| 71 | .Fa "long type" | 62 | .Fa "long type" |
| 72 | .Fc | 63 | .Fc |
| 73 | .Ft int | ||
| 74 | .Fo X509_LOOKUP_by_subject | ||
| 75 | .Fa "X509_LOOKUP *lookup" | ||
| 76 | .Fa "X509_LOOKUP_TYPE type" | ||
| 77 | .Fa "X509_NAME *name" | ||
| 78 | .Fa "X509_OBJECT *object" | ||
| 79 | .Fc | ||
| 80 | .Ft int | ||
| 81 | .Fn X509_LOOKUP_init "X509_LOOKUP *lookup" | ||
| 82 | .Ft int | ||
| 83 | .Fn X509_LOOKUP_shutdown "X509_LOOKUP *lookup" | ||
| 84 | .Ft int | ||
| 85 | .Fo X509_LOOKUP_by_issuer_serial | ||
| 86 | .Fa "X509_LOOKUP *lookup" | ||
| 87 | .Fa "X509_LOOKUP_TYPE type" | ||
| 88 | .Fa "X509_NAME *name" | ||
| 89 | .Fa "ASN1_INTEGER *serial" | ||
| 90 | .Fa "X509_OBJECT *object" | ||
| 91 | .Fc | ||
| 92 | .Ft int | ||
| 93 | .Fo X509_LOOKUP_by_fingerprint | ||
| 94 | .Fa "X509_LOOKUP *lookup" | ||
| 95 | .Fa "X509_LOOKUP_TYPE type" | ||
| 96 | .Fa "const unsigned char *bytes" | ||
| 97 | .Fa "int length" | ||
| 98 | .Fa "X509_OBJECT *object" | ||
| 99 | .Fc | ||
| 100 | .Ft int | ||
| 101 | .Fo X509_LOOKUP_by_alias | ||
| 102 | .Fa "X509_LOOKUP *lookup" | ||
| 103 | .Fa "X509_LOOKUP_TYPE type" | ||
| 104 | .Fa "const char *string" | ||
| 105 | .Fa "int length" | ||
| 106 | .Fa "X509_OBJECT *object" | ||
| 107 | .Fc | ||
| 108 | .In openssl/x509.h | 64 | .In openssl/x509.h |
| 109 | .Ft const char * | 65 | .Ft const char * |
| 110 | .Fn X509_get_default_cert_dir void | 66 | .Fn X509_get_default_cert_dir void |
| @@ -115,21 +71,11 @@ | |||
| 115 | .Ft const char * | 71 | .Ft const char * |
| 116 | .Fn X509_get_default_cert_file_env void | 72 | .Fn X509_get_default_cert_file_env void |
| 117 | .Sh DESCRIPTION | 73 | .Sh DESCRIPTION |
| 118 | .Fn X509_LOOKUP_new | ||
| 119 | allocates a new, empty | ||
| 120 | .Vt X509_LOOKUP | ||
| 121 | object and associates it with the | ||
| 122 | .Fa method | ||
| 123 | which is a static object returned from either | ||
| 124 | .Xr X509_LOOKUP_hash_dir 3 | ||
| 125 | or | ||
| 126 | .Xr X509_LOOKUP_file 3 | ||
| 127 | or | ||
| 128 | .Xr X509_LOOKUP_mem 3 . | ||
| 129 | .Pp | ||
| 130 | .Fn X509_LOOKUP_free | 74 | .Fn X509_LOOKUP_free |
| 75 | is a deprecated function that | ||
| 131 | releases the memory used by | 76 | releases the memory used by |
| 132 | .Fa lookup . | 77 | .Fa lookup . |
| 78 | It is provided for compatibility only. | ||
| 133 | If | 79 | If |
| 134 | .Fa lookup | 80 | .Fa lookup |
| 135 | is a | 81 | is a |
| @@ -332,21 +278,7 @@ and the files are read with | |||
| 332 | In case of success, the first match is returned in the | 278 | In case of success, the first match is returned in the |
| 333 | .Pf * Fa object | 279 | .Pf * Fa object |
| 334 | provided by the caller, overwriting any previous content. | 280 | provided by the caller, overwriting any previous content. |
| 335 | .Pp | ||
| 336 | With LibreSSL, | ||
| 337 | .Fn X509_LOOKUP_init , | ||
| 338 | .Fn X509_LOOKUP_shutdown , | ||
| 339 | .Fn X509_LOOKUP_by_issuer_serial , | ||
| 340 | .Fn X509_LOOKUP_by_fingerprint , | ||
| 341 | and | ||
| 342 | .Fn X509_LOOKUP_by_alias | ||
| 343 | have no effect. | ||
| 344 | .Sh RETURN VALUES | 281 | .Sh RETURN VALUES |
| 345 | .Fn X509_LOOKUP_new | ||
| 346 | returns the new object or | ||
| 347 | .Dv NULL | ||
| 348 | if memory allocation fails. | ||
| 349 | .Pp | ||
| 350 | .Fn X509_LOOKUP_ctrl | 282 | .Fn X509_LOOKUP_ctrl |
| 351 | returns 1 for success or 0 for failure. | 283 | returns 1 for success or 0 for failure. |
| 352 | With library implementations other than LibreSSL, | 284 | With library implementations other than LibreSSL, |
| @@ -374,19 +306,6 @@ if no match is found, or if memory allocation fails. | |||
| 374 | With library implementations other than LibreSSL, | 306 | With library implementations other than LibreSSL, |
| 375 | it might also return negative values for internal errors. | 307 | it might also return negative values for internal errors. |
| 376 | .Pp | 308 | .Pp |
| 377 | .Fn X509_LOOKUP_init | ||
| 378 | and | ||
| 379 | .Fn X509_LOOKUP_shutdown | ||
| 380 | are supposed to return 1 for success and 0 for failure. | ||
| 381 | With LibreSSL, they always return 1. | ||
| 382 | .Pp | ||
| 383 | With LibreSSL, | ||
| 384 | .Fn X509_LOOKUP_by_issuer_serial , | ||
| 385 | .Fn X509_LOOKUP_by_fingerprint , | ||
| 386 | and | ||
| 387 | .Fn X509_LOOKUP_by_alias | ||
| 388 | always return 0. | ||
| 389 | .Pp | ||
| 390 | .Fn X509_get_default_cert_dir | 309 | .Fn X509_get_default_cert_dir |
| 391 | returns a pointer to the constant string | 310 | returns a pointer to the constant string |
| 392 | .Qq /etc/ssl/certs , | 311 | .Qq /etc/ssl/certs , |
