From fc135af348d629e4b9c95e440be420d1f57a24c6 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Tue, 7 Oct 2008 06:29:37 +0000 Subject: oops, missed one compute_md5 noticed by djm@ --- usr.sbin/pkg_add/OpenBSD/Replace.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') 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 # @@ -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; } -- cgit v1.2.3