Skip to content

Commit 4f06e1d

Browse files
authored
Merge pull request #3033 from testssl/fix_unicode_3003_3.2
Fix DN conversion when reading certificate issuer (3.2)
2 parents e0d0076 + 1a00cd9 commit 4f06e1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

testssl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22416,7 +22416,7 @@ print_dn() {
2241622416
fi
2241722417
# Use the LDAP String Representation of Distinguished Names (RFC 2253),
2241822418
# The current specification is in RFC 4514.
22419-
name="$(hex2binary "$cert" | $OPENSSL x509 -issuer -noout -inform DER -nameopt RFC2253 2>/dev/null)"
22419+
name="$(hex2binary "$cert" | $OPENSSL x509 -issuer -noout -inform DER -nameopt RFC2253,-esc_msb 2>/dev/null)"
2242022420
name="${name#issuer=}"
2242122421
tm_out "$(strip_leading_space "$name")"
2242222422
return 0

0 commit comments

Comments
 (0)