x509/1
This commit is contained in:
parent
d4a9f1c89e
commit
deff26576f
1 changed files with 2 additions and 3 deletions
|
@ -257,10 +257,9 @@ spcd_git_url() {
|
|||
# ╰───────────┴─────────╯
|
||||
|
||||
spcd_openssl_x509() {
|
||||
spcd_openssl_x509__file="${1}"
|
||||
if [ -f "${spcd_openssl_x509__file}" ]; then
|
||||
if [ -f "${1}" ]; then
|
||||
openssl x509 \
|
||||
-in "${spcd_openssl_x509__file}" \
|
||||
-in "${1}" \
|
||||
-noout -text
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue