summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/X509_STORE_new.3
diff options
context:
space:
mode:
authorschwarze <>2021-11-09 16:23:04 +0000
committerschwarze <>2021-11-09 16:23:04 +0000
commit07305e812277e705090ef12fc544cfaca761f7b0 (patch)
tree4dc19afbd041656723e065e96b849fe1492d029a /src/lib/libcrypto/man/X509_STORE_new.3
parentd4156b94767ce35582c9f6861681233e5be95a3c (diff)
downloadopenbsd-07305e812277e705090ef12fc544cfaca761f7b0.tar.gz
openbsd-07305e812277e705090ef12fc544cfaca761f7b0.tar.bz2
openbsd-07305e812277e705090ef12fc544cfaca761f7b0.zip
Split a new page X509_load_cert_file(3) with three functions
out of X509_LOOKUP_hash_dir(3) because both groups of functions differ substantially in purpose and structure. Rewrite the complete text of X509_load_cert_file(3) from scratch for correctness and clarity. This fixes several documentation errors: 1. The names of the constants were wrong, lacking the "X509_" prefix. 2. None of these functions support X509_FILETYPE_DEFAULT, neither in OpenSSL nor in LibreSSL. 3. The memory cache does not contain X509_STORE objects; instead, the X509_STORE object *is* the memory cache.
Diffstat (limited to 'src/lib/libcrypto/man/X509_STORE_new.3')
-rw-r--r--src/lib/libcrypto/man/X509_STORE_new.35
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/X509_STORE_new.3 b/src/lib/libcrypto/man/X509_STORE_new.3
index 71b88f999d..c84be75cbb 100644
--- a/src/lib/libcrypto/man/X509_STORE_new.3
+++ b/src/lib/libcrypto/man/X509_STORE_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: X509_STORE_new.3,v 1.5 2019/06/06 01:06:59 schwarze Exp $ 1.\" $OpenBSD: X509_STORE_new.3,v 1.6 2021/11/09 16:23:04 schwarze Exp $
2.\" full merge up to: OpenSSL 05ea606a May 20 20:52:46 2016 -0400 2.\" full merge up to: OpenSSL 05ea606a May 20 20:52:46 2016 -0400
3.\" selective merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 3.\" selective merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
4.\" 4.\"
@@ -67,7 +67,7 @@
67.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 67.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
68.\" OF THE POSSIBILITY OF SUCH DAMAGE. 68.\" OF THE POSSIBILITY OF SUCH DAMAGE.
69.\" 69.\"
70.Dd $Mdocdate: June 6 2019 $ 70.Dd $Mdocdate: November 9 2021 $
71.Dt X509_STORE_NEW 3 71.Dt X509_STORE_NEW 3
72.Os 72.Os
73.Sh NAME 73.Sh NAME
@@ -124,6 +124,7 @@ returns 1 for success and 0 for failure.
124.Sh SEE ALSO 124.Sh SEE ALSO
125.Xr PKCS7_verify 3 , 125.Xr PKCS7_verify 3 ,
126.Xr SSL_CTX_set_cert_store 3 , 126.Xr SSL_CTX_set_cert_store 3 ,
127.Xr X509_load_cert_file 3 ,
127.Xr X509_LOOKUP_hash_dir 3 , 128.Xr X509_LOOKUP_hash_dir 3 ,
128.Xr X509_OBJECT_get0_X509 3 , 129.Xr X509_OBJECT_get0_X509 3 ,
129.Xr X509_STORE_CTX_new 3 , 130.Xr X509_STORE_CTX_new 3 ,