Skip to content

Commit

Permalink
display_dn(): Do not assign /dev/null to OPENSSL_CONF
Browse files Browse the repository at this point in the history
Windows sh.exe does not provide /dev/null

Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Apr 6, 2024
1 parent f9d1aa1 commit fecb9c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -3439,7 +3439,7 @@ display_dn - input error"
shift 2

# Display DN
ssl_out="$(OPENSSL_CONF=/dev/null \
ssl_out="$(
"$EASYRSA_OPENSSL" "$format" -in "$path" -noout -subject \
-nameopt utf8,sep_multiline,space_eq,lname,align)" || \
die "display_dn: SSL command '$format'"
Expand Down

0 comments on commit fecb9c7

Please sign in to comment.