mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-05 16:29:45 +01:00
Merge pull request #2146 from dcooper16/ossl3_fix_30
More OpenSSL compatibility fixes
This commit is contained in:
commit
a47bc2097e
@ -8181,7 +8181,9 @@ determine_cert_fingerprint_serial() {
|
||||
result="${result//serial=}"
|
||||
result="${result//:/}"
|
||||
result="${result//SHA1 /}"
|
||||
result="${result//sha1 /}"
|
||||
result="${result//SHA256 /}"
|
||||
result="${result//sha256 /}"
|
||||
# When the serial number is too large we'll get a 0x0a LF after 70 ASCII chars (see #2010).
|
||||
# Thus we clean them here so that it is displayed correctly.
|
||||
result="${result/[$'\n\r']/}"
|
||||
|
Loading…
Reference in New Issue
Block a user