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, |