Clarify error messages

The word "offending" doesn't make sense.  Changed to "File Path".

Closes #384

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
This commit is contained in:
Eric F Crist 2020-09-02 09:30:40 -05:00
parent 768b66cfdd
commit 2db812160e
No known key found for this signature in database
GPG Key ID: 72964219390D0D0E
2 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,7 @@ Easy-RSA 3 ChangeLog
* Fixed issue where gen-dh overwrote existing files without warning (#373) * Fixed issue where gen-dh overwrote existing files without warning (#373)
* Fixed issue with ED/EC certificates were still signed by RSA (#374) * Fixed issue with ED/EC certificates were still signed by RSA (#374)
* Added support for export-p8 (#339) * Added support for export-p8 (#339)
* Clarified error message (#384)
3.0.7 (2020-03-30) 3.0.7 (2020-03-30)
* Include OpenSSL libs and binary for Windows 1.1.0j * Include OpenSSL libs and binary for Windows 1.1.0j

View File

@ -874,7 +874,7 @@ Expected to find the request at: $req_in"
# Confirm input is a cert req # Confirm input is a cert req
verify_file req "$req_in" || die "\ verify_file req "$req_in" || die "\
The certificate request file is not in a valid X509 request format. The certificate request file is not in a valid X509 request format.
Offending file: $req_in" File Path: $req_in"
# Display the request subject in an easy-to-read format # Display the request subject in an easy-to-read format
# Confirm the user wishes to sign this request # Confirm the user wishes to sign this request
@ -1340,7 +1340,7 @@ Run easyrsa without commands for usage and command help."
verify_file req "$in_req" || die "\ verify_file req "$in_req" || die "\
The input file does not appear to be a certificate request. Aborting import. The input file does not appear to be a certificate request. Aborting import.
Offending file: $in_req" File Path: $in_req"
# destination must not exist # destination must not exist
[ -f "$out_req" ] && die "\ [ -f "$out_req" ] && die "\