Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: crypto/nss_key_util.h

Issue 2046863002: Remove traces of USE_NSS_CERTS from crypto/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: crypto/nss_key_util.h
diff --git a/crypto/nss_key_util.h b/crypto/nss_key_util.h
index 12b948d25bb2a269d432a1d57a4baa219902e2d9..86934dd003620d677d57ae12362bce4a18719fb1 100644
--- a/crypto/nss_key_util.h
+++ b/crypto/nss_key_util.h
@@ -36,8 +36,6 @@ ImportNSSKeyFromPrivateKeyInfo(PK11SlotInfo* slot,
const std::vector<uint8_t>& input,
bool permanent);
-#if defined(USE_NSS_CERTS)
-
// Decodes |input| as a DER-encoded X.509 SubjectPublicKeyInfo and searches for
// the private key half in the key database. Returns the private key on success
// or nullptr on error.
@@ -51,8 +49,6 @@ CRYPTO_EXPORT ScopedSECKEYPrivateKey
FindNSSKeyFromPublicKeyInfoInSlot(const std::vector<uint8_t>& input,
PK11SlotInfo* slot);
-#endif // defined(USE_NSS_CERTS)
-
} // namespace crypto
#endif // CRYPTO_NSS_KEY_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698