|
Remove the certificate management methods from dart:io
Certificate management functions where added to dart:io in r25610 and
r26002. However these functions where mutating the NSS database for
the whole Dart process, and some functions where also persisting the
changes to the database.
This might cause issues when running multiple isolates as changes in
one isolate will affect other isolates and could lead to unexpected
results.
These functions are removed from dart:io for now.
BUG=http://dartbug.com/8227
TBR=ager@google.com
Committed: https://code.google.com/p/dart/source/detail?r=26194
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+77 lines, -812 lines) |
Patch |
|
M |
runtime/bin/io_natives.cc
|
View
|
|
1 chunk |
+1 line, -6 lines |
0 comments
|
Download
|
|
M |
runtime/bin/net/nss.gyp
|
View
|
|
4 chunks |
+0 lines, -16 lines |
0 comments
|
Download
|
|
M |
runtime/bin/secure_socket.h
|
View
|
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/bin/secure_socket.cc
|
View
|
|
13 chunks |
+69 lines, -342 lines |
0 comments
|
Download
|
|
M |
runtime/bin/secure_socket_patch.dart
|
View
|
|
1 chunk |
+2 lines, -21 lines |
0 comments
|
Download
|
|
M |
sdk/lib/_internal/lib/io_patch.dart
|
View
|
|
1 chunk |
+1 line, -25 lines |
0 comments
|
Download
|
|
M |
sdk/lib/io/secure_socket.dart
|
View
|
|
2 chunks |
+2 lines, -113 lines |
0 comments
|
Download
|
|
D |
tests/standalone/io/certificate_test.dart
|
View
|
|
1 chunk |
+0 lines, -38 lines |
0 comments
|
Download
|
|
D |
tests/standalone/io/certificate_test_client.dart
|
View
|
|
1 chunk |
+0 lines, -65 lines |
0 comments
|
Download
|
|
D |
tests/standalone/io/certificate_test_client_database.dart
|
View
|
|
1 chunk |
+0 lines, -42 lines |
0 comments
|
Download
|
|
D |
tests/standalone/io/delete_a_directory_later.dart
|
View
|
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
|
D |
tests/standalone/io/pkcert/localhost.p12
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
D |
tests/standalone/io/pkcert/myauthority.pem
|
View
|
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
|
D |
tests/standalone/io/user_certificate_test.dart
|
View
|
|
1 chunk |
+0 lines, -116 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|