summaryrefslogtreecommitdiff
path: root/src/md5.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-01-20 02:14:08 +0000
committerMike Buland <eichlan@xagasoft.com>2011-01-20 02:14:08 +0000
commitf5aca1a1b402bd7ebc944dc6e6fe65828d863365 (patch)
tree4a0fdd8e166d5c4b03543279d332b9a858ef62df /src/md5.cpp
parent10c557562e1d67c55314c212371ea9cb7f802863 (diff)
downloadlibbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.gz
libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.bz2
libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.xz
libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.zip
Bu::FString is now String, and there's a shell script to fix any other programs
that were using fstring, I hope.
Diffstat (limited to 'src/md5.cpp')
-rw-r--r--src/md5.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/md5.cpp b/src/md5.cpp
index abf4bfa..db70ddc 100644
--- a/src/md5.cpp
+++ b/src/md5.cpp
@@ -60,7 +60,7 @@ void Bu::Md5::reset()
60 iFill = 0; 60 iFill = 0;
61} 61}
62 62
63void Bu::Md5::setSalt( const Bu::FString & /*sSalt*/ ) 63void Bu::Md5::setSalt( const Bu::String & /*sSalt*/ )
64{ 64{
65} 65}
66 66
@@ -84,11 +84,11 @@ void Bu::Md5::addData( const void *sVData, int iSize )
84 iBytes += iSize; 84 iBytes += iSize;
85} 85}
86 86
87Bu::FString Bu::Md5::getResult() 87Bu::String Bu::Md5::getResult()
88{ 88{
89 long lsum[4]; 89 long lsum[4];
90 compCap( lsum ); 90 compCap( lsum );
91 return Bu::FString( (const char *)lsum, 4*4 ); 91 return Bu::String( (const char *)lsum, 4*4 );
92} 92}
93 93
94void Bu::Md5::writeResult( Bu::Stream &sOut ) 94void Bu::Md5::writeResult( Bu::Stream &sOut )