summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hidden/openssl
diff options
context:
space:
mode:
authortb <>2025-10-24 11:33:38 +0000
committertb <>2025-10-24 11:33:38 +0000
commitf77c42a93e09c937696f65c6aefd2b3120a20cff (patch)
tree8caa19f0bf9d3c53e5002a0ce6f375a37d971e7c /src/lib/libcrypto/hidden/openssl
parent8cbd4e746f40c750809e34d04c0298e0a5ff6f42 (diff)
downloadopenbsd-f77c42a93e09c937696f65c6aefd2b3120a20cff.tar.gz
openbsd-f77c42a93e09c937696f65c6aefd2b3120a20cff.tar.bz2
openbsd-f77c42a93e09c937696f65c6aefd2b3120a20cff.zip
Expose X509_VERIFY_PARAM_get_hostflags()
This is needed by Python 3.14, extending the urllib3 nonsense further. This is a trivial getter and it is exercised by the libssl unit test I added for urllib3 (which can now use dynamic linking for libcrypto). Fixes https://github.com/libressl/portable/issues/1202 Thanks to @orbea for the report. ok kenjiro PS: X509_VERIFY_PARAM_get_flags() and X509_VERIFY_PARAM_get_peername() aren't const correct. Fixing this will require some doing...
Diffstat (limited to 'src/lib/libcrypto/hidden/openssl')
-rw-r--r--src/lib/libcrypto/hidden/openssl/x509_vfy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/x509_vfy.h b/src/lib/libcrypto/hidden/openssl/x509_vfy.h
index cc0991518f..d0c46b655e 100644
--- a/src/lib/libcrypto/hidden/openssl/x509_vfy.h
+++ b/src/lib/libcrypto/hidden/openssl/x509_vfy.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_vfy.h,v 1.10 2025/03/09 15:20:20 tb Exp $ */ 1/* $OpenBSD: x509_vfy.h,v 1.11 2025/10/24 11:33:38 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2022 Bob Beck <beck@openbsd.org> 3 * Copyright (c) 2022 Bob Beck <beck@openbsd.org>
4 * 4 *
@@ -122,6 +122,7 @@ LCRYPTO_USED(X509_VERIFY_PARAM_set1_name);
122LCRYPTO_USED(X509_VERIFY_PARAM_set_flags); 122LCRYPTO_USED(X509_VERIFY_PARAM_set_flags);
123LCRYPTO_USED(X509_VERIFY_PARAM_clear_flags); 123LCRYPTO_USED(X509_VERIFY_PARAM_clear_flags);
124LCRYPTO_USED(X509_VERIFY_PARAM_get_flags); 124LCRYPTO_USED(X509_VERIFY_PARAM_get_flags);
125LCRYPTO_USED(X509_VERIFY_PARAM_get_hostflags);
125LCRYPTO_USED(X509_VERIFY_PARAM_set_purpose); 126LCRYPTO_USED(X509_VERIFY_PARAM_set_purpose);
126LCRYPTO_USED(X509_VERIFY_PARAM_set_trust); 127LCRYPTO_USED(X509_VERIFY_PARAM_set_trust);
127LCRYPTO_USED(X509_VERIFY_PARAM_set_depth); 128LCRYPTO_USED(X509_VERIFY_PARAM_set_depth);