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/crypt.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/crypt.cpp') diff --git a/src/crypt.cpp b/src/crypt.cpp index ae04353..97260c9 100644 --- a/src/crypt.cpp +++ b/src/crypt.cpp @@ -11,14 +11,14 @@ #include "bu/membuf.h" #include "bu/file.h" -Bu::FString Bu::cryptPass( const Bu::FString &sPass, const Bu::FString &sSalt ) +Bu::String Bu::cryptPass( const Bu::String &sPass, const Bu::String &sSalt ) { Bu::Md5 md5; Bu::MemBuf mbOut; Bu::Base64 b64Out( mbOut ); - Bu::FString::const_iterator i = sSalt.find('$'); - Bu::FString sSaltSml = sSalt.getSubStr( sSalt.begin(), i ); + Bu::String::const_iterator i = sSalt.find('$'); + Bu::String sSaltSml = sSalt.getSubStr( sSalt.begin(), i ); md5.addData( sPass ); md5.addData( sSaltSml ); @@ -29,7 +29,7 @@ Bu::FString Bu::cryptPass( const Bu::FString &sPass, const Bu::FString &sSalt ) return sSaltSml + "$" + mbOut.getString(); } -Bu::FString Bu::cryptPass( const Bu::FString &sPass ) +Bu::String Bu::cryptPass( const Bu::String &sPass ) { Bu::MemBuf mbSalt; Bu::Base64 b64Salt( mbSalt ); -- cgit v1.2.3