summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/util.inc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-12-15 15:31:12 -0200
committerRenato Botelho <renato@netgate.com>2015-12-15 15:31:12 -0200
commit39f91304482229e7fa631f64aecdcef96149122e (patch)
tree3b26d97b9f5b1cd1ff00b2be9d83db0a5f3c968a /src/etc/inc/util.inc
parent1da904605431d1f405f9bb5597af3ac606c5dc41 (diff)
downloadpfsense-39f91304482229e7fa631f64aecdcef96149122e.zip
pfsense-39f91304482229e7fa631f64aecdcef96149122e.tar.gz
Retire verify_digital_signature() and pubkey.pem
Diffstat (limited to 'src/etc/inc/util.inc')
-rw-r--r--src/etc/inc/util.inc13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/etc/inc/util.inc b/src/etc/inc/util.inc
index d372be7..8a9590a 100644
--- a/src/etc/inc/util.inc
+++ b/src/etc/inc/util.inc
@@ -57,7 +57,7 @@
*/
/*
pfSense_BUILDER_BINARIES: /bin/ps /bin/kill /usr/bin/killall /sbin/ifconfig /usr/bin/netstat
- pfSense_BUILDER_BINARIES: /usr/bin/awk /sbin/dmesg /sbin/ping /usr/local/sbin/gzsig /usr/sbin/arp
+ pfSense_BUILDER_BINARIES: /usr/bin/awk /sbin/dmesg /sbin/ping /usr/sbin/arp
pfSense_BUILDER_BINARIES: /sbin/conscontrol /sbin/devd /bin/ps
pfSense_MODULE: utils
*/
@@ -1582,17 +1582,6 @@ function alias_expand_urltable($name) {
return null;
}
-/* verify (and remove) the digital signature on a file - returns 0 if OK */
-function verify_digital_signature($fname) {
- global $g;
-
- if (!file_exists("/usr/local/sbin/gzsig")) {
- return 4;
- }
-
- return mwexec("/usr/local/sbin/gzsig verify {$g['etc_path']}/pubkey.pem < " . escapeshellarg($fname));
-}
-
/* obtain MAC address given an IP address by looking at the ARP table */
function arp_get_mac_by_ip($ip) {
mwexec("/sbin/ping -c 1 -t 1 " . escapeshellarg($ip), true);
OpenPOWER on IntegriCloud