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

Unified Diff: crypto/rsa_private_key_nss_unittest.cc

Issue 881213004: Support building BoringSSL with NSS certificates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: slightly tidier (edit: looks like this'll need a rebase later for try jobs to run.) Created 5 years, 10 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/rsa_private_key_nss_unittest.cc
diff --git a/crypto/rsa_private_key_nss_unittest.cc b/crypto/rsa_private_key_nss_unittest.cc
index 98360e810d7dd9678ec94c34a24ad0231e90af9e..777fd9f20389edf92db7dfcf45114f3f466095a4 100644
--- a/crypto/rsa_private_key_nss_unittest.cc
+++ b/crypto/rsa_private_key_nss_unittest.cc
@@ -13,6 +13,10 @@
namespace crypto {
+// TODO(davidben): These tests assume NSS is used for both the internal crypto
+// library and the platform key store.
+#if !defined(USE_NSS)
davidben 2015/02/25 21:09:39 This file is really weird because the APIs in ques
+
class RSAPrivateKeyNSSTest : public testing::Test {
public:
RSAPrivateKeyNSSTest() {}
@@ -57,4 +61,6 @@ TEST_F(RSAPrivateKeyNSSTest, FailedFindFromPublicKey) {
EXPECT_EQ(NULL, crypto::RSAPrivateKey::FindFromPublicKeyInfo(public_key));
}
+#endif // !USE_NSS
+
} // namespace crypto

Powered by Google App Engine
This is Rietveld 408576698