From 907de2ec1bef285720740d0fb157014433d603c3 Mon Sep 17 00:00:00 2001 From: Andrea Mistrali Date: Tue, 23 Nov 2021 17:38:17 +0100 Subject: [PATCH] changes 3 --- zsh.d/zshfunctions/x509 | 2 +- zsh.d/zshfunctions/x509.zwc | Bin 1728 -> 1728 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh.d/zshfunctions/x509 b/zsh.d/zshfunctions/x509 index 885fce1..2b14857 100644 --- a/zsh.d/zshfunctions/x509 +++ b/zsh.d/zshfunctions/x509 @@ -18,6 +18,6 @@ while getopts ":hr:" arg; do ;; esac done -[ $help -eq 0 ] && usage && return +[ $help -eq 1 ] && usage && return [ $remote -eq 0 ] && openssl x509 -in $* -noout -text [ $remote -eq 1 ] && openssl s_client -connect $host < /dev/null | openssl x509 -noout -text diff --git a/zsh.d/zshfunctions/x509.zwc b/zsh.d/zshfunctions/x509.zwc index a5166d55b67e27698f59a230c61d79ec8367ea29..1c2873762ceea3fc19ef491effcd0c1b96202565 100644 GIT binary patch delta 21 bcmX@Wdw_St2}Z`Q%_kX?n1PfI>l8)+T$cxh delta 21 bcmX@Wdw_St2}Z`I%_kX?n1PfI>l8)+TmJ`j