Attention is currently required from: Arne Schwabe.
Hello Arne Schwabe,
I'd like you to do a code review.
Please visit
https://gerrit.openvpn.net/c/openvpn/+/2084?usp=email
to review the following change.
Change subject: check_file_access: fix --extra-certs access check
......................................................................
check_file_access: fix --extra-certs access check
The file name was passed as the is_inline flag, so the check was
always skipped. Pass extra_certs_file_inline instead.
Broken since cb2e9218 ("convert *_inline attributes to bool").
Change-Id: Ia3f6dd4ce35869c92619ce0c56eeda8796bde006
Signed-off-by: Razvan Cojocaru <[email protected]>
---
M src/openvpn/check_file_access.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/84/2084/1
diff --git a/src/openvpn/check_file_access.c b/src/openvpn/check_file_access.c
index 83654b2..25d7f90 100644
--- a/src/openvpn/check_file_access.c
+++ b/src/openvpn/check_file_access.c
@@ -267,7 +267,7 @@
errs |= check_file_access_inline(options->cert_file_inline, CHKACC_FILE |
CHKACC_ACCEPT_URI,
options->cert_file, R_OK, "--cert");
- errs |= check_file_access_inline(options->extra_certs_file, CHKACC_FILE,
+ errs |= check_file_access_inline(options->extra_certs_file_inline,
CHKACC_FILE,
options->extra_certs_file, R_OK,
"--extra-certs");
if (!(options->management_flags & MF_EXTERNAL_KEY))
--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2084?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ia3f6dd4ce35869c92619ce0c56eeda8796bde006
Gerrit-Change-Number: 2084
Gerrit-PatchSet: 1
Gerrit-Owner: Răzvan Cojocaru <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel