summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2013-12-31 11:24:55 +0000
committerespie <espie@openbsd.org>2013-12-31 11:24:55 +0000
commit9c2ec82728c9d25cbd8795dc12f5ce18eb40dbf5 (patch)
tree471597b9b95a773753a0359e1be8b43494bad0dc
parentsignify support (diff)
downloadwireguard-openbsd-9c2ec82728c9d25cbd8795dc12f5ce18eb40dbf5.tar.xz
wireguard-openbsd-9c2ec82728c9d25cbd8795dc12f5ce18eb40dbf5.zip
... and rename this too
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgAdd.pm6
1 files 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 <espie@openbsd.org>
#
@@ -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");