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 8599991bd83e6f4e0903cb79788114c12da02c05..8bd4e27ecd262a54b6c0253231ab2ddd1458ecae 100644 |
--- a/tests/standalone/io/secure_socket_alpn_test.dart |
+++ b/tests/standalone/io/secure_socket_alpn_test.dart |
@@ -113,6 +113,9 @@ void testInvalidArgumentClientConnect(List<String> protocols, |
} |
main() { |
+ if (!SecurityContext.alpnSupported) { |
+ return 0; |
+ } |
final longname256 = 'p' * 256; |
final String longname255 = 'p' * 255; |
final String strangelongname255 = 'ΓΈ' + 'p' * 253; |