mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 930398 - Use ScopedCERTCertificate instead. r=keeler
This commit is contained in:
parent
05f29ae8f2
commit
62e955a598
@ -327,7 +327,7 @@ KeyStore::ReceiveSocketData(nsAutoPtr<UnixSocketRawData>& aMessage)
|
||||
const char *certName = (const char *)mHandlerInfo.param[0].data;
|
||||
|
||||
// Get cert from NSS by name
|
||||
CERTCertificate *cert = CERT_FindCertByNickname(certdb, certName);
|
||||
ScopedCERTCertificate cert = CERT_FindCertByNickname(certdb, certName);
|
||||
if (!cert) {
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user