summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2011-06-27 12:14:26 +0000
committerMarc Espie <espie@cvs.openbsd.org>2011-06-27 12:14:26 +0000
commita633571e8e743a2f04fcb05f115da2e7d643d482 (patch)
tree5470f40c6af8363a19c2484aae25103f8af11fd3 /usr.sbin
parent06530f7b306b39d0e27f867fcfd4cf7622ff25e3 (diff)
add useless method for tied readability
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) = @_;