summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/md5.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/md5.pm b/usr.sbin/pkg_add/OpenBSD/md5.pm
index 10551cb6297..8d3405bc88c 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.14 2011/05/21 08:33:41 espie Exp $
+# $OpenBSD: md5.pm,v 1.15 2011/06/27 12:14:25 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -28,6 +28,12 @@ sub new
bless \$digest, $class;
}
+sub key
+{
+ my $self = shift;
+ return $$self;
+}
+
sub write
{
my ($self, $fh) = @_;