http: support legacy X509 lookup signature

This commit is contained in:
Adrien Beraud committed 2026-08-06 14:05:48 -04:00
1 parent a2d9fdf334
commit d676aef027
1 file changed
+1 -1
+1 -1
View File
@@ -308,7 +308,7 @@ issuer_from_chain(STACK_OF(X509) * fullchain)
if ((issuer_name = X509_get_issuer_name(cert)) == nullptr)
return nullptr;
issuer = X509_find_by_subject(fullchain, issuer_name);
issuer = X509_find_by_subject(fullchain, const_cast<X509_NAME*>(issuer_name));
return issuer;
}