summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2014-01-10 16:05:31 +0000
committerespie <espie@openbsd.org>2014-01-10 16:05:31 +0000
commit9304e5c39a5aed1cc718dff69fbd3a1f344b4e3e (patch)
treeb9d1491b5b56ebc63148c1b4d5ada595865f435b
parentsignify silent by default, don't bother working around stdout. (diff)
downloadwireguard-openbsd-9304e5c39a5aed1cc718dff69fbd3a1f344b4e3e.tar.xz
wireguard-openbsd-9304e5c39a5aed1cc718dff69fbd3a1f344b4e3e.zip
by popular demand, remove excessive paranoia
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Delete.pm9
1 files changed, 1 insertions, 8 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Delete.pm b/usr.sbin/pkg_add/OpenBSD/Delete.pm
index dde06270ccb..00ea79bd7f2 100644
--- a/usr.sbin/pkg_add/OpenBSD/Delete.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Delete.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Delete.pm,v 1.126 2014/01/09 20:20:01 espie Exp $
+# $OpenBSD: Delete.pm,v 1.127 2014/01/10 16:05:31 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
@@ -104,13 +104,6 @@ sub delete_package
$state->fatal("Package real name #1 does not match #2",
$plist->pkgname, $pkgname);
}
- if ($plist->is_signed) {
- if (!$state->{quick}) {
- if (!$plist->check_signature($state)) {
- $state->fatal("package #1 was corrupted: signature check failed", $pkgname);
- }
- }
- }
if ($plist->has('firmware')) {
if ($state->{interactive}) {
if (!$state->confirm("\nDelete firmware $pkgname", 0)) {