From 44003a10ebcd6c67f1de5af490971ae233c73642 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 b182b74ef..1ac0a89e1 100644 --- a/src/tls/openssl/tls.c +++ b/src/tls/openssl/tls.c @@ -495,7 +495,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;