| Index: content/renderer/webcrypto/webcrypto_impl_unittest.cc
|
| diff --git a/content/renderer/webcrypto/webcrypto_impl_unittest.cc b/content/renderer/webcrypto/webcrypto_impl_unittest.cc
|
| index 5c6cad6618693a32a6c4b229dc59ec683239c332..e448c5267d22b05aa2d99400c3fc8f6896a25139 100644
|
| --- a/content/renderer/webcrypto/webcrypto_impl_unittest.cc
|
| +++ b/content/renderer/webcrypto/webcrypto_impl_unittest.cc
|
| @@ -180,6 +180,9 @@ class WebCryptoImplTest : public testing::Test {
|
| WebCryptoImpl crypto_;
|
| };
|
|
|
| +// TODO(padolph) Enable these tests for OpenSSL once matching impl is available
|
| +#if !defined(USE_OPENSSL)
|
| +
|
| TEST_F(WebCryptoImplTest, DigestSampleSets) {
|
| // The results are stored here in hex format for readability.
|
| //
|
| @@ -261,6 +264,8 @@ TEST_F(WebCryptoImplTest, DigestSampleSets) {
|
| }
|
| }
|
|
|
| +#endif // #if !defined(USE_OPENSSL)
|
| +
|
| TEST_F(WebCryptoImplTest, HMACSampleSets) {
|
| struct TestCase {
|
| WebKit::WebCryptoAlgorithmId algorithm;
|
| @@ -400,6 +405,9 @@ TEST_F(WebCryptoImplTest, HMACSampleSets) {
|
| }
|
| }
|
|
|
| +// TODO(padolph) Enable these tests for OpenSSL once matching impl is available
|
| +#if !defined(USE_OPENSSL)
|
| +
|
| TEST_F(WebCryptoImplTest, AesCbcFailures) {
|
| WebKit::WebCryptoKey key = ImportSecretKeyFromRawHexString(
|
| "2b7e151628aed2a6abf7158809cf4f3c",
|
| @@ -593,4 +601,6 @@ TEST_F(WebCryptoImplTest, AesCbcSampleSets) {
|
| }
|
| }
|
|
|
| +#endif // !defined(USE_OPENSSL)
|
| +
|
| } // namespace content
|
|
|