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

Unified Diff: content/child/webcrypto/test/test_helpers.h

Issue 675453003: Add tests for RSA private key import using JWK when p and q are swapped. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yay upload failed! Created 6 years, 2 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/child/webcrypto/test/test_helpers.h
diff --git a/content/child/webcrypto/test/test_helpers.h b/content/child/webcrypto/test/test_helpers.h
index 1505f09e75765de51eec0aac1b2573cac65d5107..9d4e193746c31a733bd620620a567fac93073e01 100644
--- a/content/child/webcrypto/test/test_helpers.h
+++ b/content/child/webcrypto/test/test_helpers.h
@@ -48,6 +48,9 @@ void PrintTo(const CryptoData& data, ::std::ostream* os);
bool operator==(const CryptoData& a, const CryptoData& b);
bool operator!=(const CryptoData& a, const CryptoData& b);
+// Gives a human-readable description of |status| and any error it represents.
+std::string StatusToString(const Status& status);
Ryan Sleevi 2014/10/24 23:00:57 It's no clear why this is needed over the PrintTo
eroman 2014/10/24 23:07:09 PrintTo() outputs to a stream, as used by gtest.
+
// TODO(eroman): For Linux builds using system NSS, AES-GCM and RSA-OAEP, and
// RSA key import are a runtime dependency.
bool SupportsAesGcm();

Powered by Google App Engine
This is Rietveld 408576698