mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
http: support legacy X509 lookup signature
This commit is contained in:
1 parent
a2d9fdf334
commit
d676aef027
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user