diff options
author | tb <> | 2025-10-10 23:07:40 +0000 |
---|---|---|
committer | tb <> | 2025-10-10 23:07:40 +0000 |
commit | 43419247d48fcba182defe04d984a4fc8ab42654 (patch) | |
tree | e486790a9185a8df3ffc61aa80a3218260847a52 /src/regress/lib/libssl/unit/ssl_verify_param.c | |
parent | e6eb3281afe75c88fe14724ae36ddb51a2369a78 (diff) | |
download | openbsd-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/regress/lib/libssl/unit/ssl_verify_param.c')
-rw-r--r-- | src/regress/lib/libssl/unit/ssl_verify_param.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libssl/unit/ssl_verify_param.c b/src/regress/lib/libssl/unit/ssl_verify_param.c index cdb52c56a8..c5ad5c3a2b 100644 --- a/src/regress/lib/libssl/unit/ssl_verify_param.c +++ b/src/regress/lib/libssl/unit/ssl_verify_param.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_verify_param.c,v 1.1 2023/05/24 08:54:59 tb Exp $ */ | 1 | /* $OpenBSD: ssl_verify_param.c,v 1.2 2025/10/10 23:07:40 tb Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2023 Theo Buehler <tb@openbsd.org> | 4 | * Copyright (c) 2023 Theo Buehler <tb@openbsd.org> |
@@ -22,7 +22,7 @@ | |||
22 | #include <openssl/ssl.h> | 22 | #include <openssl/ssl.h> |
23 | #include <openssl/x509v3.h> | 23 | #include <openssl/x509v3.h> |
24 | 24 | ||
25 | unsigned int X509_VERIFY_PARAM_get_hostflags(X509_VERIFY_PARAM *param); | 25 | unsigned int X509_VERIFY_PARAM_get_hostflags(const X509_VERIFY_PARAM *param); |
26 | 26 | ||
27 | static int | 27 | static int |
28 | ssl_verify_param_flags_inherited(void) | 28 | ssl_verify_param_flags_inherited(void) |