From: espie Date: Tue, 16 May 2023 14:29:20 +0000 (+0000) Subject: explain why there is a hierarchy with one single subclass, because X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=cea71dc159dd3abb6dea42a499a1ce7fe64f09d1;p=openbsd explain why there is a hierarchy with one single subclass, because we never know when we may need to change crypto-hashes! --- diff --git a/usr.sbin/pkg_add/OpenBSD/md5.pm b/usr.sbin/pkg_add/OpenBSD/md5.pm index 74800b4fa3d..be0f605f441 100644 --- a/usr.sbin/pkg_add/OpenBSD/md5.pm +++ b/usr.sbin/pkg_add/OpenBSD/md5.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: md5.pm,v 1.18 2019/07/05 06:21:14 espie Exp $ +# $OpenBSD: md5.pm,v 1.19 2023/05/16 14:29:20 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie # @@ -18,6 +18,9 @@ use strict; use warnings; +# XXX even though there is ONE current implementation of OpenBSD::digest +# (SHA256) we keep the framework open in case we ever need to switch, +# as we did in the past with md5 -> sha256 package OpenBSD::digest; sub new