From ec05778d5718a7912e506764d443a78d6a6179e3 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 5 Nov 2012 22:41:51 +0000 Subject: Converted tabs to spaces with tabconv. --- src/unit/blowfish.unit | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'src/unit/blowfish.unit') diff --git a/src/unit/blowfish.unit b/src/unit/blowfish.unit index abab63d..1b4ca18 100644 --- a/src/unit/blowfish.unit +++ b/src/unit/blowfish.unit @@ -50,29 +50,29 @@ static const char *testdat[34][3] ={ suite Blowfish { - test standard - { - for( int j = 0; j < 34; j++ ) - { - Bu::MemBuf mb; - Bu::BlowfishEcb bf( mb ); - bf.setPassword( Bu::decodeStr( testdat[j][0] ) ); - bf.write( Bu::decodeStr( testdat[j][1] ) ); - unitTest( - mb.getString() == Bu::decodeStr( testdat[j][2] ) - ); + test standard + { + for( int j = 0; j < 34; j++ ) + { + Bu::MemBuf mb; + Bu::BlowfishEcb bf( mb ); + bf.setPassword( Bu::decodeStr( testdat[j][0] ) ); + bf.write( Bu::decodeStr( testdat[j][1] ) ); + unitTest( + mb.getString() == Bu::decodeStr( testdat[j][2] ) + ); - mb.setPos( 0 ); - Bu::BlowfishEcb bf2( mb ); - bf2.setPassword( Bu::decodeStr( testdat[j][0] ) ); - char buf[8]; - bf2.read( buf, 8 ); + mb.setPos( 0 ); + Bu::BlowfishEcb bf2( mb ); + bf2.setPassword( Bu::decodeStr( testdat[j][0] ) ); + char buf[8]; + bf2.read( buf, 8 ); - unitTest( - Bu::String(testdat[j][1]) == - Bu::encodeStr(Bu::String(buf,8),true) - ); - } - } + unitTest( + Bu::String(testdat[j][1]) == + Bu::encodeStr(Bu::String(buf,8),true) + ); + } + } } -- cgit v1.2.3