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

Unified Diff: content/renderer/webcrypto_impl_unittest.cc

Issue 23621050: Added WebCypto digest OpenSSL implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for openssl, #ifdef disable all tests except digest Created 7 years, 3 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: content/renderer/webcrypto_impl_unittest.cc
diff --git a/content/renderer/webcrypto_impl_unittest.cc b/content/renderer/webcrypto_impl_unittest.cc
index 8a9a1004b86027bb4f7bcb82d35a669ab4d92840..e49529efcfd998fa9581629b8feacca7847e3a9b 100644
--- a/content/renderer/webcrypto_impl_unittest.cc
+++ b/content/renderer/webcrypto_impl_unittest.cc
@@ -124,6 +124,9 @@ TEST_F(WebCryptoImplTest, DigestSampleSets) {
}
}
+// TODO(padolph) Enable these tests for OpenSSL once matching impl is available
+#if !defined(USE_OPENSSL)
+
TEST_F(WebCryptoImplTest, HMACSampleSets) {
struct {
WebKit::WebCryptoAlgorithmId algorithm;
@@ -274,4 +277,6 @@ TEST_F(WebCryptoImplTest, HMACSampleSets) {
}
}
+#endif // #if !defined(USE_OPENSSL)
+
} // namespace content
« content/renderer/webcrypto_impl_openssl.cc ('K') | « content/renderer/webcrypto_impl_openssl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698