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

Side by Side Diff: runtime/bin/io_natives.cc

Issue 1420923006: Add unique serial numbers to sample X509 certificates. Remove the "sendClientCertificate" parameter… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Delete all certificate signing private keys, so testers aren't vulnerable. Created 5 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | runtime/bin/secure_socket.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "bin/io_natives.h" 5 #include "bin/io_natives.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include "bin/builtin.h" 10 #include "bin/builtin.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 V(Process_Start, 11) \ 89 V(Process_Start, 11) \
90 V(Process_Wait, 5) \ 90 V(Process_Wait, 5) \
91 V(Process_KillPid, 2) \ 91 V(Process_KillPid, 2) \
92 V(Process_SetExitCode, 1) \ 92 V(Process_SetExitCode, 1) \
93 V(Process_GetExitCode, 0) \ 93 V(Process_GetExitCode, 0) \
94 V(Process_Exit, 1) \ 94 V(Process_Exit, 1) \
95 V(Process_Sleep, 1) \ 95 V(Process_Sleep, 1) \
96 V(Process_Pid, 1) \ 96 V(Process_Pid, 1) \
97 V(Process_SetSignalHandler, 1) \ 97 V(Process_SetSignalHandler, 1) \
98 V(Process_ClearSignalHandler, 1) \ 98 V(Process_ClearSignalHandler, 1) \
99 V(SecureSocket_Connect, 8) \ 99 V(SecureSocket_Connect, 7) \
100 V(SecureSocket_Destroy, 1) \ 100 V(SecureSocket_Destroy, 1) \
101 V(SecureSocket_FilterPointer, 1) \ 101 V(SecureSocket_FilterPointer, 1) \
102 V(SecureSocket_GetSelectedProtocol, 1) \ 102 V(SecureSocket_GetSelectedProtocol, 1) \
103 V(SecureSocket_Handshake, 1) \ 103 V(SecureSocket_Handshake, 1) \
104 V(SecureSocket_Init, 1) \ 104 V(SecureSocket_Init, 1) \
105 V(SecureSocket_PeerCertificate, 1) \ 105 V(SecureSocket_PeerCertificate, 1) \
106 V(SecureSocket_RegisterBadCertificateCallback, 2) \ 106 V(SecureSocket_RegisterBadCertificateCallback, 2) \
107 V(SecureSocket_RegisterHandshakeCompleteCallback, 2) \ 107 V(SecureSocket_RegisterHandshakeCompleteCallback, 2) \
108 V(SecureSocket_Renegotiate, 4) \ 108 V(SecureSocket_Renegotiate, 4) \
109 V(SecurityContext_Allocate, 1) \ 109 V(SecurityContext_Allocate, 1) \
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 struct NativeEntries* entry = &(IOEntries[i]); 185 struct NativeEntries* entry = &(IOEntries[i]);
186 if (reinterpret_cast<Dart_NativeFunction>(entry->function_) == nf) { 186 if (reinterpret_cast<Dart_NativeFunction>(entry->function_) == nf) {
187 return reinterpret_cast<const uint8_t*>(entry->name_); 187 return reinterpret_cast<const uint8_t*>(entry->name_);
188 } 188 }
189 } 189 }
190 return NULL; 190 return NULL;
191 } 191 }
192 192
193 } // namespace bin 193 } // namespace bin
194 } // namespace dart 194 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/secure_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698