Actually read up to 32KB of a XPI to look for a signature, instead of requiring the whole thing to be in the first chunk of data available. Bug 306354, r+sr=darin, a=cbeard.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179417 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%brianryner.com
2005-08-31 20:06:55 +00:00
parent 062ad7515b
commit 9453c46ad0

View File

@@ -241,10 +241,11 @@ CertReader::OnDataAvailable(nsIRequest *request,
if (orgData)
free(orgData);
// Cancel the load now that we've verified the signature
return NS_BINDING_ABORTED;
}
return NS_BINDING_ABORTED;
return NS_OK; // continue reading
}
NS_IMETHODIMP