From 9304e5c39a5aed1cc718dff69fbd3a1f344b4e3e Mon Sep 17 00:00:00 2001 From: espie Date: Fri, 10 Jan 2014 16:05:31 +0000 Subject: [PATCH] by popular demand, remove excessive paranoia --- usr.sbin/pkg_add/OpenBSD/Delete.pm | 9 +-------- 1 file changed, 1 insertion(+), 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 # @@ -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)) { -- 2.20.1