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

Unified Diff: runtime/vm/unit_test.cc

Issue 10398010: Remove the SHA1 implementation used by web sockets and use the dart:crypto library one instead. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Additional changes to make all tests run Created 8 years, 7 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
« no previous file with comments | « runtime/bin/websocket_impl.dart ('k') | tests/standalone/crypto/sha1_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/unit_test.cc
diff --git a/runtime/vm/unit_test.cc b/runtime/vm/unit_test.cc
index 65174d02e22560a4a779af6d2d49e733bcc1cc9e..4a382dae862b12a58271357d638c5fbc3bde7406 100644
--- a/runtime/vm/unit_test.cc
+++ b/runtime/vm/unit_test.cc
@@ -83,6 +83,8 @@ static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag,
return Builtin::LoadLibrary(Builtin::kUriLibrary);
} else if (DartUtils::IsDartUtfLibURL(url_chars)) {
return Builtin::LoadLibrary(Builtin::kUtfLibrary);
+ } else if (DartUtils::IsDartCryptoLibURL(url_chars)) {
+ return Builtin::LoadLibrary(Builtin::kCryptoLibrary);
} else {
return Dart_Error("Do not know how to load '%s'", url_chars);
}
« no previous file with comments | « runtime/bin/websocket_impl.dart ('k') | tests/standalone/crypto/sha1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698