summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/unit/ssl_verify_param.c
diff options
context:
space:
mode:
authortb <>2025-10-24 11:43:34 +0000
committertb <>2025-10-24 11:43:34 +0000
commitc168e7d61d28218d9000b840a46e75e38f2ac5ff (patch)
tree7cd10b1072914b7e1135714db9b75104e099bf8a /src/regress/lib/libssl/unit/ssl_verify_param.c
parent517a853e33fbf7b2eac199a98fc31c6c39a4080e (diff)
downloadopenbsd-c168e7d61d28218d9000b840a46e75e38f2ac5ff.tar.gz
openbsd-c168e7d61d28218d9000b840a46e75e38f2ac5ff.tar.bz2
openbsd-c168e7d61d28218d9000b840a46e75e38f2ac5ff.zip
Use X509_VERIFY_PARAM_get_hostflags() prototype from x509_vfy.h
Diffstat (limited to '')
-rw-r--r--src/regress/lib/libssl/unit/ssl_verify_param.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/regress/lib/libssl/unit/ssl_verify_param.c b/src/regress/lib/libssl/unit/ssl_verify_param.c
index c5ad5c3a2b..05af9be2be 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.2 2025/10/10 23:07:40 tb Exp $ */ 1/* $OpenBSD: ssl_verify_param.c,v 1.3 2025/10/24 11:43:34 tb Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2023 Theo Buehler <tb@openbsd.org> 4 * Copyright (c) 2023 Theo Buehler <tb@openbsd.org>
@@ -20,10 +20,9 @@
20#include <stdio.h> 20#include <stdio.h>
21 21
22#include <openssl/ssl.h> 22#include <openssl/ssl.h>
23#include <openssl/x509_vfy.h>
23#include <openssl/x509v3.h> 24#include <openssl/x509v3.h>
24 25
25unsigned int X509_VERIFY_PARAM_get_hostflags(const X509_VERIFY_PARAM *param);
26
27static int 26static int
28ssl_verify_param_flags_inherited(void) 27ssl_verify_param_flags_inherited(void)
29{ 28{