mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-15 13:09:14 +00:00
Bug 677418: Remove unused nsNSSComponent::GetNSSCipherIDFromPrefString, r=kaie
This commit is contained in:
parent
752d0bfb1d
commit
46f0df3701
@ -1089,18 +1089,6 @@ static CipherPref CipherPrefs[] = {
|
||||
{NULL, 0} /* end marker */
|
||||
};
|
||||
|
||||
nsresult nsNSSComponent::GetNSSCipherIDFromPrefString(const nsACString &aPrefString, PRUint16 &aCipherId)
|
||||
{
|
||||
for (CipherPref* cp = CipherPrefs; cp->pref; ++cp) {
|
||||
if (nsDependentCString(cp->pref) == aPrefString) {
|
||||
aCipherId = (PRUint16) cp->id;
|
||||
return NS_OK;
|
||||
}
|
||||
}
|
||||
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
}
|
||||
|
||||
static void
|
||||
setNonPkixOcspEnabled(PRInt32 ocspEnabled, nsIPrefBranch * pref)
|
||||
{
|
||||
|
@ -283,7 +283,6 @@ public:
|
||||
NS_IMETHOD LogoutAuthenticatedPK11();
|
||||
NS_IMETHOD DownloadCRLDirectly(nsAutoString, nsAutoString);
|
||||
NS_IMETHOD RememberCert(CERTCertificate *cert);
|
||||
static nsresult GetNSSCipherIDFromPrefString(const nsACString &aPrefString, PRUint16 &aCipherId);
|
||||
|
||||
NS_IMETHOD LaunchSmartCardThread(SECMODModule *module);
|
||||
NS_IMETHOD ShutdownSmartCardThread(SECMODModule *module);
|
||||
|
Loading…
x
Reference in New Issue
Block a user