diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Volume/Volume.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Volume/Volume.cpp b/src/Volume/Volume.cpp index 74d102a6..c4a21b3e 100644 --- a/src/Volume/Volume.cpp +++ b/src/Volume/Volume.cpp @@ -110,8 +110,8 @@ namespace VeraCrypt if (!volumeFile) throw ParameterIncorrect (SRC_POS); - // TrueCrypt doesn't support SHA-256 - if (kdf && truecryptMode && (kdf->GetName() == L"HMAC-SHA-256")) + // TrueCrypt doesn't support SHA-256 and Streebog + if (kdf && truecryptMode && (kdf->GetName() == L"HMAC-SHA-256" || kdf->GetName() == L"HMAC-Streebog")) throw UnsupportedAlgoInTrueCryptMode (SRC_POS); Protection = protection; |