changes 4

This commit is contained in:
Andrea Mistrali 2021-11-23 17:39:19 +01:00
parent 907de2ec1b
commit bb26b1374d
No known key found for this signature in database
GPG Key ID: 6FB0A77F6D5DA9B2
2 changed files with 1 additions and 1 deletions

View File

@ -18,6 +18,6 @@ while getopts ":hr:" arg; do
;; ;;
esac esac
done done
[ $help -eq 1 ] && usage && return [ $help -eq 1 ] && usage && return 0
[ $remote -eq 0 ] && openssl x509 -in $* -noout -text [ $remote -eq 0 ] && openssl x509 -in $* -noout -text
[ $remote -eq 1 ] && openssl s_client -connect $host < /dev/null | openssl x509 -noout -text [ $remote -eq 1 ] && openssl s_client -connect $host < /dev/null | openssl x509 -noout -text

Binary file not shown.