diff options
author | cel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519> | 2020-06-30 07:55:20 -0400 |
---|---|---|
committer | cel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519> | 2020-06-30 07:55:20 -0400 |
commit | e506169f75b3644baf5edc9daeeda541f140976a (patch) | |
tree | 0acc7356455113cc6e1ee2b0f67a1ab705b568f0 | |
parent | 91b58efd7e0616be7e65d417aa29c0a7dd6ec5a2 (diff) |
Support LibreSSL s_client
- Use -connect instead of positional argument
- Don't use verify_quiet
-rwxr-xr-x | gemini.filter.dpi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gemini.filter.dpi b/gemini.filter.dpi index b2c52b5..ff47cb8 100755 --- a/gemini.filter.dpi +++ b/gemini.filter.dpi @@ -239,7 +239,7 @@ serve_gemini() { if [ "$host" = "$port" ]; then port=1965; fi send_status_msg "Sending request..." - printf "%s\r\n" "$url" | openssl s_client -verify_quiet -quiet "$host:$port" | { + printf "%s\r\n" "$url" | openssl s_client -quiet -connect "$host:$port" | { read status meta send_status_msg "Status: $status" meta=$(echo "$meta" | sed 's/\s*$//') |