summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_vpm.c
diff options
context:
space:
mode:
authortb <>2025-10-10 23:07:40 +0000
committertb <>2025-10-10 23:07:40 +0000
commit43419247d48fcba182defe04d984a4fc8ab42654 (patch)
treee486790a9185a8df3ffc61aa80a3218260847a52 /src/lib/libcrypto/x509/x509_vpm.c
parente6eb3281afe75c88fe14724ae36ddb51a2369a78 (diff)
downloadopenbsd-43419247d48fcba182defe04d984a4fc8ab42654.tar.gz
openbsd-43419247d48fcba182defe04d984a4fc8ab42654.tar.bz2
openbsd-43419247d48fcba182defe04d984a4fc8ab42654.zip
const correct X509_VERIFY_PARAM_get_hostflags()
This is currently an internal helper only used by a regress test. We'll have to expose in the public API for Python 3.14: https://github.com/libressl/portable/issues/1202
Diffstat (limited to 'src/lib/libcrypto/x509/x509_vpm.c')
-rw-r--r--src/lib/libcrypto/x509/x509_vpm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_vpm.c b/src/lib/libcrypto/x509/x509_vpm.c
index 19091b12aa..0789a51c13 100644
--- a/src/lib/libcrypto/x509/x509_vpm.c
+++ b/src/lib/libcrypto/x509/x509_vpm.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_vpm.c,v 1.56 2025/05/10 05:54:39 tb Exp $ */ 1/* $OpenBSD: x509_vpm.c,v 1.57 2025/10/10 23:07:40 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2004. 3 * project 2004.
4 */ 4 */
@@ -545,7 +545,7 @@ LCRYPTO_ALIAS(X509_VERIFY_PARAM_add1_host);
545 545
546/* Public API in OpenSSL - nothing seems to use this. */ 546/* Public API in OpenSSL - nothing seems to use this. */
547unsigned int 547unsigned int
548X509_VERIFY_PARAM_get_hostflags(X509_VERIFY_PARAM *param) 548X509_VERIFY_PARAM_get_hostflags(const X509_VERIFY_PARAM *param)
549{ 549{
550 return param->hostflags; 550 return param->hostflags;
551} 551}