about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2020-05-26 18:23:37 -0500
committerCase Duckworth2020-05-26 18:23:37 -0500
commite7d7619145ad8687a76efa255492122f071cfedc (patch)
tree1060724ad0b58f71b1fb22ae4aae9877522b1df3
parentAdd Makefile (diff)
downloadbollux-e7d7619145ad8687a76efa255492122f071cfedc.tar.gz
bollux-e7d7619145ad8687a76efa255492122f071cfedc.zip
Fix dumb mistake
-rwxr-xr-xbollux2
1 files changed, 1 insertions, 1 deletions
diff --git a/bollux b/bollux index 6646e8e..6f8ea8b 100755 --- a/bollux +++ b/bollux
@@ -228,7 +228,7 @@ request_url() {
228 local port="$2" 228 local port="$2"
229 local url="$3" 229 local url="$3"
230 230
231 ssl_cmd=(openssl s_client -crlf -quiet -connect "$server/$port") 231 ssl_cmd=(openssl s_client -crlf -quiet -connect "$server:$port")
232 ssl_cmd+=(-servername "$server") # SNI 232 ssl_cmd+=(-servername "$server") # SNI
233 run "${ssl_cmd[@]}" <<<"$url" 2>/dev/null 233 run "${ssl_cmd[@]}" <<<"$url" 2>/dev/null
234} 234}