From 9c2ec82728c9d25cbd8795dc12f5ce18eb40dbf5 Mon Sep 17 00:00:00 2001 From: espie Date: Tue, 31 Dec 2013 11:24:55 +0000 Subject: [PATCH] ... and rename this too --- usr.sbin/pkg_add/OpenBSD/PkgAdd.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm index 7c9fc61e1aa..d0ef9a0054b 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgAdd.pm,v 1.40 2013/12/25 14:38:15 espie Exp $ +# $OpenBSD: PkgAdd.pm,v 1.41 2013/12/31 11:24:55 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie # @@ -648,7 +648,7 @@ sub iterate } } -sub check_x509_signature +sub check_digital_signature { my ($set, $state) = @_; $state->{check_digest} //= 0; @@ -709,7 +709,7 @@ sub really_add my $errors = 0; - check_x509_signature($set, $state); + check_digital_signature($set, $state); if ($state->{not}) { $state->status->what("Pretending to add"); -- 2.20.1