diff options
-rw-r--r-- | src/lib/libcrypto/x509/x509_vpm.c | 4 | ||||
-rw-r--r-- | src/regress/lib/libssl/unit/ssl_verify_param.c | 4 |
2 files changed, 4 insertions, 4 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. */ |
547 | unsigned int | 547 | unsigned int |
548 | X509_VERIFY_PARAM_get_hostflags(X509_VERIFY_PARAM *param) | 548 | X509_VERIFY_PARAM_get_hostflags(const X509_VERIFY_PARAM *param) |
549 | { | 549 | { |
550 | return param->hostflags; | 550 | return param->hostflags; |
551 | } | 551 | } |
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) |