Skip to content

Commit

Permalink
verify_file(): Call SSL library directly
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Jun 5, 2024
1 parent d719750 commit c68a442
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -3654,7 +3654,6 @@ display_dn - input error"

# Display DN
ssl_out="$(
#export OPENSSL_CONF="$global_safe_ssl_cnf_tmp"
"$EASYRSA_OPENSSL" "$format" -in "$path" -noout -subject \
-nameopt utf8,sep_multiline,space_eq,lname,align)" || \
die "display_dn: SSL command '$format'"
Expand Down Expand Up @@ -3742,7 +3741,7 @@ Input is not a valid certificate:
verify_file() {
format="$1"
path="$2"
easyrsa_openssl "$format" -in "$path" -noout 2>/dev/null
"$EASYRSA_OPENSSL" "$format" -in "$path" -noout 2>/dev/null
} # => verify_file()

# show-* command backend
Expand Down

0 comments on commit c68a442

Please sign in to comment.