Merge pull request #899 from dcooper16/yet_another_ossl111_fix

Yet another fix for OpenSSL 1.1.1
This commit is contained in:
Dirk Wetter 2017-11-17 20:21:28 +01:00 committed by GitHub
commit 52809d0800
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6192,6 +6192,7 @@ certificate_info() {
fi
cert_sig_algo=$($OPENSSL x509 -in $HOSTCERT -noout -text 2>>$ERRFILE | grep "Signature Algorithm" | sed 's/^.*Signature Algorithm: //' | sort -u )
cert_sig_algo="${cert_sig_algo%% *}"
cert_key_algo=$($OPENSSL x509 -in $HOSTCERT -noout -text 2>>$ERRFILE | awk -F':' '/Public Key Algorithm:/ { print $2 }' | sort -u )
out "$indent" ; pr_bold " Signature Algorithm "