diff -r b75757c81051 -r 318c4eab2439 devencdiskutils/DevEncCommonUtils/src/DevEncKeyUtils.cpp --- a/devencdiskutils/DevEncCommonUtils/src/DevEncKeyUtils.cpp Fri Mar 19 09:41:08 2010 +0200 +++ b/devencdiskutils/DevEncCommonUtils/src/DevEncKeyUtils.cpp Fri Apr 16 15:53:24 2010 +0300 @@ -24,13 +24,14 @@ #include "DevEncLog.h" #include "DevEncUids.hrh" + #include #include //#include // for system path literals #include #include #include -#include +#include #include #include @@ -273,8 +274,7 @@ aResult = HBufC8::NewL( resultPtr.Length()*4/3+3 ); TPtr8 returnPtr = aResult->Des(); returnPtr.SetLength( 0 ); - TImCodecB64 b64codec; - b64codec.Initialise(); + TBase64 b64codec; b64codec.Encode( *result, returnPtr ); // Destroy the evidence @@ -320,8 +320,7 @@ HBufC8* decodedKey = HBufC8::NewLC( aPkcs5Key.Length()*3/4 ); TPtr8 keyPtr = decodedKey->Des(); keyPtr.SetLength( 0 ); - TImCodecB64 b64codec; - b64codec.Initialise(); + TBase64 b64codec; b64codec.Decode( aPkcs5Key, keyPtr ); // Read the parameters and ciphertext from the input