diff options
author | Case Duckworth | 2020-05-26 18:23:37 -0500 |
---|---|---|
committer | Case Duckworth | 2020-05-26 18:23:37 -0500 |
commit | e7d7619145ad8687a76efa255492122f071cfedc (patch) | |
tree | 1060724ad0b58f71b1fb22ae4aae9877522b1df3 | |
parent | Add Makefile (diff) | |
download | bollux-e7d7619145ad8687a76efa255492122f071cfedc.tar.gz bollux-e7d7619145ad8687a76efa255492122f071cfedc.zip |
Fix dumb mistake
-rwxr-xr-x | bollux | 2 |
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 | } |