From d7306bcaf97184a8727ab5406a0d7f8ae4b176ad Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Wed, 22 May 2024 10:48:09 +0200 Subject: [PATCH] tls/openssl: fix const X509_PURPOSE --- src/tls/openssl/tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tls/openssl/tls.c b/src/tls/openssl/tls.c index f3d111ceb..615a7ab91 100644 --- a/src/tls/openssl/tls.c +++ b/src/tls/openssl/tls.c @@ -481,7 +481,7 @@ int tls_set_verify_purpose(struct tls *tls, const char *purpose) { int err; int i; - X509_PURPOSE *xptmp; + const X509_PURPOSE *xptmp; if (!tls || !purpose) return EINVAL;