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

Unified Diff: crypto/ec_private_key_nss.cc

Issue 881213004: Support building BoringSSL with NSS certificates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/ec_private_key_nss.cc
diff --git a/crypto/ec_private_key_nss.cc b/crypto/ec_private_key_nss.cc
index 2daa0c0f4a38642916981996440a084d09f8adc5..21532a4ae57d7784235464cc1f1ca01b46051981 100644
--- a/crypto/ec_private_key_nss.cc
+++ b/crypto/ec_private_key_nss.cc
@@ -96,14 +96,6 @@ ECPrivateKey* ECPrivateKey::Create() {
false /* not sensitive */);
}
-#if defined(USE_NSS)
-// static
-ECPrivateKey* ECPrivateKey::CreateSensitive(PK11SlotInfo* slot) {
- return CreateWithParams(
- slot, true /* permanent */, true /* sensitive */);
-}
-#endif
-
// static
ECPrivateKey* ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
const std::string& password,
@@ -121,23 +113,6 @@ ECPrivateKey* ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
false /* not sensitive */);
}
-#if defined(USE_NSS)
-// static
-ECPrivateKey* ECPrivateKey::CreateSensitiveFromEncryptedPrivateKeyInfo(
- PK11SlotInfo* slot,
- const std::string& password,
- const std::vector<uint8>& encrypted_private_key_info,
- const std::vector<uint8>& subject_public_key_info) {
- return CreateFromEncryptedPrivateKeyInfoWithParams(
- slot,
- password,
- encrypted_private_key_info,
- subject_public_key_info,
- true /* permanent */,
- true /* sensitive */);
-}
-#endif
-
// static
bool ECPrivateKey::ImportFromEncryptedPrivateKeyInfo(
PK11SlotInfo* slot,
« build/linux/system.gyp ('K') | « crypto/ec_private_key.h ('k') | crypto/rsa_private_key.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698