Index: tests/standalone/io/secure_socket_alpn_test.dart |
diff --git a/tests/standalone/io/secure_socket_alpn_test.dart b/tests/standalone/io/secure_socket_alpn_test.dart |
index fc7e102963243df4ead03f94b054a356d77e5040..1db5c0c685a797299d6178d0913e2c53743457f1 100644 |
--- a/tests/standalone/io/secure_socket_alpn_test.dart |
+++ b/tests/standalone/io/secure_socket_alpn_test.dart |
@@ -21,8 +21,8 @@ SecurityContext clientContext() => new SecurityContext() |
..setTrustedCertificates(file: localFile('certificates/trusted_certs.pem')); |
SecurityContext serverContext() => new SecurityContext() |
- ..useCertificateChain(localFile('certificates/server_chain.pem')) |
- ..usePrivateKeyAsBytes(readLocalFile('certificates/server_key.pem'), |
+ ..useCertificateChainBytes(readLocalFile('certificates/server_chain.pem')) |
+ ..usePrivateKeyBytes(readLocalFile('certificates/server_key.pem'), |
password: 'dartdart'); |
// Tests that client/server with same protocol can securely establish a |