backout 5f9951a2e6df (bug 785918) for breaking on osx

This commit is contained in:
Benjamin Peterson 2012-09-25 10:24:09 -04:00
parent 5d62355423
commit 45876f065f
2 changed files with 4 additions and 4 deletions

View File

@ -352,7 +352,7 @@ nsStrictTransportSecurityService::GetPreloadListEntry(const char *aHost)
{
return (const nsSTSPreload *) bsearch(aHost,
kSTSPreloadList,
mozilla::ArrayLength(kSTSPreloadList),
PR_ARRAY_SIZE(kSTSPreloadList),
sizeof(nsSTSPreload),
STSPreloadCompare);
}

View File

@ -457,9 +457,9 @@ GenerateDSAKeyPair(PK11SlotInfo * slot,
PQGParams pqgParams = {
NULL /*arena*/,
{ siBuffer, P, mozilla::ArrayLength(P) },
{ siBuffer, Q, mozilla::ArrayLength(Q) },
{ siBuffer, G, mozilla::ArrayLength(G) }
{ siBuffer, P, PR_ARRAY_SIZE(P) },
{ siBuffer, Q, PR_ARRAY_SIZE(Q) },
{ siBuffer, G, PR_ARRAY_SIZE(G) }
};
return GenerateKeyPair(slot, privateKey, publicKey, CKM_DSA_KEY_PAIR_GEN,