Bug 588298 - During mochitest-5 SSL mixedcontent tests, we spam tons of ###!!! ASSERTION: QueryInterface needed, fixed QI, r=kaie, a=blocking-final

This commit is contained in:
Honza Bambas 2010-08-26 13:11:24 +02:00
parent 4ab88aa150
commit 9bf226de71

View File

@ -704,7 +704,7 @@ nsNSSSocketInfo::Read(nsIObjectInputStream* stream) {
NS_ENSURE_SUCCESS(rv, rv);
serializable->Read(stream);
mCert = reinterpret_cast<nsNSSCertificate*>(serializable.get());
mCert = do_QueryInterface(serializable);
// We are done with reading the certificate, now read the version
// as we did before.