diff options
author | Chris Buechler <cmb@pfsense.org> | 2010-01-13 11:40:17 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2010-01-13 11:40:17 -0500 |
commit | 9f007e8c10978eea0ba6b50064cdec773437c974 (patch) | |
tree | 12e90d565dd1975aa8a777263ad8f0c6c6001b47 | |
parent | e08e7ea126d6fd2986935ba140f7028e7ce28050 (diff) | |
download | pfsense-9f007e8c10978eea0ba6b50064cdec773437c974.zip pfsense-9f007e8c10978eea0ba6b50064cdec773437c974.tar.gz |
if gzsig is missing, return error verifying signature rather than invalid signature.
-rw-r--r-- | etc/inc/util.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index d975ada..d7e1cfa 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -736,7 +736,7 @@ function verify_digital_signature($fname) { global $g; if(!file_exists("/usr/local/sbin/gzsig")) - return 1; + return 4; return mwexec("/usr/local/sbin/gzsig verify {$g['etc_path']}/pubkey.pem < " . escapeshellarg($fname)); } |