diff options
author | 2016-10-04 14:24:45 +0000 | |
---|---|---|
committer | 2016-10-04 14:24:45 +0000 | |
commit | 9249d88f1af83cfd379368271d092668c5afbe5a (patch) | |
tree | 3f7b0624c5e23f7d26cfba807381d3094cbd4136 | |
parent | Let the stack perform DMA synchronization instead of doing it (partially) (diff) | |
download | wireguard-openbsd-9249d88f1af83cfd379368271d092668c5afbe5a.tar.xz wireguard-openbsd-9249d88f1af83cfd379368271d092668c5afbe5a.zip |
check_signature is gone
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackingList.pm | 20 |
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 { } |