From: espie Date: Thu, 9 Jan 2014 13:21:03 +0000 (+0000) Subject: simplify a bit: pass the first SIGNER for @signer. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=39bd5fff266ace5fe881b0cd43211941c83c2db8;p=openbsd simplify a bit: pass the first SIGNER for @signer. --- diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm index 83fc8edcaa2..6501f73c741 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm @@ -1,6 +1,6 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgCreate.pm,v 1.88 2014/01/09 10:43:13 espie Exp $ +# $OpenBSD: PkgCreate.pm,v 1.89 2014/01/09 13:21:03 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie # @@ -1159,9 +1159,6 @@ sub add_signature } my $list = $state->signer_list; - if (@$list != 1) { - $state->fatal("Ambiguous: single SIGNER identity required"); - } OpenBSD::PackingElement::Signer->add($plist, $list->[0]); my $sig = $state->{signer}->new_sig;