mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 13:21:28 +00:00

There are a few places in nsNSSCertificateDB.cpp where the following is done: 1. GetRawDER() is called on a nsIX509Cert to obtain the DER representation of the cert. 2. The DER is used to construct a CERTCertificate for use with NSS functions. This step of converting to the DER is unnecessary, since GetCert() will provide an already constructed CERTCertificate. MozReview-Commit-ID: 35KMYI7dCXc --HG-- extra : transplant_source : %CA%ED%AC/%E3%29D%BB%8D%0F%A9Y%19%B2%E7a%1B%BE%ADv