diff options
| author | Silvio Rhatto <rhatto@riseup.net> | 2023-03-04 14:07:49 -0300 |
|---|---|---|
| committer | Silvio Rhatto <rhatto@riseup.net> | 2023-03-04 14:07:49 -0300 |
| commit | df390ffbd37c7ceaf87a36120007c09c9eca30ef (patch) | |
| tree | 817e9471e0d31db477ddda5db7f1d9a13387adeb | |
| parent | cb618c0a04811e352446c7a3f0d267841e0e2fb7 (diff) | |
| download | ssl-wrapper-master.tar.gz ssl-wrapper-master.tar.bz2 | |
| -rwxr-xr-x | ssl | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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' } |
