From 39bd5fff266ace5fe881b0cd43211941c83c2db8 Mon Sep 17 00:00:00 2001 From: espie Date: Thu, 9 Jan 2014 13:21:03 +0000 Subject: [PATCH] simplify a bit: pass the first SIGNER for @signer. --- usr.sbin/pkg_add/OpenBSD/PkgCreate.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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; -- 2.20.1