From f5aca1a1b402bd7ebc944dc6e6fe65828d863365 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 20 Jan 2011 02:14:08 +0000 Subject: Bu::FString is now String, and there's a shell script to fix any other programs that were using fstring, I hope. --- src/sha1.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sha1.cpp') diff --git a/src/sha1.cpp b/src/sha1.cpp index a206a78..f3e4eb1 100644 --- a/src/sha1.cpp +++ b/src/sha1.cpp @@ -38,7 +38,7 @@ void Bu::Sha1::reset() uTotalBytes = 0; } -void Bu::Sha1::setSalt( const Bu::FString & /*sSalt*/ ) +void Bu::Sha1::setSalt( const Bu::String & /*sSalt*/ ) { } @@ -73,7 +73,7 @@ void Bu::Sha1::addData( const void *sDataRaw, int iSize ) } } -Bu::FString Bu::Sha1::getResult() +Bu::String Bu::Sha1::getResult() { // save the message size uint32_t totalBitsL = uTotalBytes << 3; @@ -102,7 +102,7 @@ Bu::FString Bu::Sha1::getResult() // finish the final block addData( (char*)footer, iNeededZeros + 8 ); - Bu::FString sRet( 20 ); + Bu::String sRet( 20 ); unsigned char *digest = (unsigned char *)sRet.getStr(); -- cgit v1.2.3