summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2008-10-07 06:29:37 +0000
committerMarc Espie <espie@cvs.openbsd.org>2008-10-07 06:29:37 +0000
commitfc135af348d629e4b9c95e440be420d1f57a24c6 (patch)
tree317e9653df37343d405d546cb5a6d5eb85648211 /usr.sbin
parente56ff0d5516eaf546daef2fc8e70d21617c50659 (diff)
oops, missed one compute_md5
noticed by djm@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Replace.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Replace.pm b/usr.sbin/pkg_add/OpenBSD/Replace.pm
index ca62b9b9dfc..ee7cba234c9 100644
--- a/usr.sbin/pkg_add/OpenBSD/Replace.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Replace.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Replace.pm,v 1.45 2008/06/11 09:43:25 espie Exp $
+# $OpenBSD: Replace.pm,v 1.46 2008/10/07 06:29:36 espie Exp $
#
# Copyright (c) 2004-2006 Marc Espie <espie@openbsd.org>
#
@@ -452,7 +452,7 @@ sub save_old_libraries
close $descr;
my $f = OpenBSD::PackingElement::FDESC->add($stub_list, DESC);
$f->{ignore} = 1;
- $f->{md5} = $f->compute_md5($dest.DESC);
+ $f->add_digest($f->compute_digest($dest.DESC, 'OpenBSD::md5'));
$stub_list->to_installation;
$o->{plist}->to_installation;
}