From c6491a38348e36cee9199be344badd1a8322b7d6 Mon Sep 17 00:00:00 2001 From: Dirk Wetter Date: Wed, 4 May 2022 15:56:25 +0200 Subject: [PATCH] Correct spell checking error and hint to missing ALPN --- etc/SSLSocketClient.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/etc/SSLSocketClient.java b/etc/SSLSocketClient.java index de2e1e4..fcbc742 100644 --- a/etc/SSLSocketClient.java +++ b/etc/SSLSocketClient.java @@ -2,14 +2,18 @@ import java.net.*; import java.io.*; import javax.net.ssl.*; -/* java SSLSocketClient +/* java SSLSocketClient taken from * https://docs.oracle.com/javase/10/security/sample-code-illustrating-secure-socket-connection-client-and-server.htm + * License: Unknown, not GPLv2 */ /* - * This example demostrates how to use a SSLSocket as client to + * This example demonstrates how to use a SSLSocket as client to * send a HTTP request and get response from an HTTPS server. - * It assumes that the client is not behind a firewall + * It assumes that the client is not behind a firewall. + * The handshake doesn't include any ALPN protocols. See + * https://docs.oracle.com/javase/8/docs/technotes/guides/security/jsse/alpn.html + * for more documentation. */ public class SSLSocketClient {