From da723095ab1dc4b1a0690e73902ee51117466d39 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Tue, 22 Feb 2011 17:18:58 -0600 Subject: Fix minor x509 configuration error message problem --- scripts/vpn-config.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl index f6ce00a..adbef99 100755 --- a/scripts/vpn-config.pl +++ b/scripts/vpn-config.pl @@ -1332,9 +1332,9 @@ sub get_x509 { # Verify the files exist vpn_die([split(' ', ($path."ca-cert-file"))] , "Invalid ca-cert-file \"$cacrt\"") if (! -f $cacrt); - vpn_die([split(' ', ($path."cert-file"))] , "Invalid server-cert-file \"$crt\"") + vpn_die([split(' ', ($path."cert-file"))] , "Invalid cert-file \"$crt\"") if (! -f $crt); - vpn_die([split(' ', ($path."key-file"))] , "Invalid server-key-file \"$key\"" ) + vpn_die([split(' ', ($path."key-file"))] , "Invalid key-file \"$key\"" ) if (! -f $key); -- cgit v1.2.3