aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2023-03-04 14:07:49 -0300
committerSilvio Rhatto <rhatto@riseup.net>2023-03-04 14:07:49 -0300
commitdf390ffbd37c7ceaf87a36120007c09c9eca30ef (patch)
tree817e9471e0d31db477ddda5db7f1d9a13387adeb
parentcb618c0a04811e352446c7a3f0d267841e0e2fb7 (diff)
downloadssl-wrapper-df390ffbd37c7ceaf87a36120007c09c9eca30ef.tar.gz
ssl-wrapper-df390ffbd37c7ceaf87a36120007c09c9eca30ef.tar.bz2
Fix: coding styleHEADmaster
-rwxr-xr-xssl6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssl b/ssl
index aa93c70..f043fb1 100755
--- a/ssl
+++ b/ssl
@@ -21,12 +21,12 @@ function usage {
function retrieve {
REMHOST=$1
REMPORT=${2:-443}
-
+
shift 2
OPTS="$*"
- echo |\
- openssl s_client -connect ${REMHOST}:${REMPORT} $OPTS 2>&1 |\
+ echo | \
+ openssl s_client -connect ${REMHOST}:${REMPORT} $OPTS 2>&1 | \
sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p'
}