This commit is contained in:
Marc Beninca 2024-08-26 18:09:58 +02:00
parent d4a9f1c89e
commit deff26576f
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -257,10 +257,9 @@ spcd_git_url() {
# ╰───────────┴─────────╯ # ╰───────────┴─────────╯
spcd_openssl_x509() { spcd_openssl_x509() {
spcd_openssl_x509__file="${1}" if [ -f "${1}" ]; then
if [ -f "${spcd_openssl_x509__file}" ]; then
openssl x509 \ openssl x509 \
-in "${spcd_openssl_x509__file}" \ -in "${1}" \
-noout -text -noout -text
fi fi
} }