mirror of
https://github.com/vgough/encfs.git
synced 2025-08-12 15:17:14 +02:00
fix cipher initialization
git-svn-id: http://encfs.googlecode.com/svn/trunk@110 db9cf616-1c43-0410-9cb8-a902689de0d6
This commit is contained in:
@ -358,8 +358,9 @@ CipherKey CipherV1::newKey(const char *password, int passwdLength,
|
||||
{
|
||||
LOG(ERROR) << "openssl error, PBKDF2 failed";
|
||||
return CipherKey();
|
||||
} else
|
||||
} else {
|
||||
*iterationCount = res;
|
||||
}
|
||||
} else
|
||||
{
|
||||
// known iteration length
|
||||
@ -574,7 +575,6 @@ int CipherV1::keySize() const
|
||||
|
||||
int CipherV1::cipherBlockSize() const
|
||||
{
|
||||
rAssert( _keySet );
|
||||
return _blockCipher->blockSize();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user