diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2023-05-16 14:29:21 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2023-05-16 14:29:21 +0000 |
commit | 0ffe99218f54ff5b7a39f82e0acc4b86a90d7fbc (patch) | |
tree | dc43c74902c9a2182bb60d992969886cd4f8eb33 /usr.sbin/pkg_add/OpenBSD | |
parent | 7fae464615240f398613c6953ae1dcc4b85f8037 (diff) |
explain why there is a hierarchy with one single subclass, because
we never know when we may need to change crypto-hashes!
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/md5.pm | 5 |
1 files changed, 4 insertions, 1 deletions
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 <espie@openbsd.org> # @@ -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 |