summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/md5.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:40 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:40 +0000
commitbc4af0b920be60156e5567ada3339b432d3f6e3a (patch)
tree10c8aba51a021028bfa73dba828a7fb625c959b3 /apt-pkg/contrib/md5.h
parent6a7cf7699dd3996bf0d6832d5da23f232b260713 (diff)
More CD support
Author: jgg Date: 1998-11-25 23:54:06 GMT More CD support
Diffstat (limited to 'apt-pkg/contrib/md5.h')
-rw-r--r--apt-pkg/contrib/md5.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/contrib/md5.h b/apt-pkg/contrib/md5.h
index 43bad010a..84863f7c0 100644
--- a/apt-pkg/contrib/md5.h
+++ b/apt-pkg/contrib/md5.h
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: md5.h,v 1.1 1998/10/31 05:19:59 jgg Exp $
+// $Id: md5.h,v 1.2 1998/11/25 23:54:45 jgg Exp $
/* ######################################################################
MD5SumValue - Storage for a MD5Sum
@@ -56,6 +56,7 @@ class MD5Summation
public:
bool Add(const unsigned char *Data,unsigned long Size);
+ inline bool Add(const char *Data) {return Add((unsigned char *)Data,strlen(Data));};
bool AddFD(int Fd,unsigned long Size);
inline bool Add(const unsigned char *Beg,const unsigned char *End)
{return Add(Beg,End-Beg);};