summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackingList.pm20
1 files changed, 1 insertions, 19 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingList.pm b/usr.sbin/pkg_add/OpenBSD/PackingList.pm
index 7e84032a7cc..429b4082542 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackingList.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackingList.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: PackingList.pm,v 1.141 2016/09/27 21:31:20 naddy Exp $
+# $OpenBSD: PackingList.pm,v 1.142 2016/10/04 14:24:45 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
@@ -539,24 +539,6 @@ sub to_installation
$self->tofile(OpenBSD::PackageInfo::installed_contents($self->pkgname));
}
-sub check_signature
-{
- my ($plist, $state) = @_;
- my $sig = $plist->get('digital-signature');
- if ($sig->{key} eq 'x509') {
- require OpenBSD::x509;
- return OpenBSD::x509::check_signature($plist, $state);
- } elsif ($sig->{key} eq 'signify' && $state->defines('oldsign')) {
- require OpenBSD::signify;
- return OpenBSD::signify::check_signature($plist, $state);
- } elsif ($sig->{key} eq 'signify2') {
- return 1;
- } else {
- $state->log("Error: unknown signature style $sig->{key}");
- return 0;
- }
-}
-
sub forget
{
}