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;