VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Common/Crypto.c2
-rw-r--r--src/Volume/EncryptionAlgorithm.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/Crypto.c b/src/Common/Crypto.c
index 3c52ef74..43f287d3 100644
--- a/src/Common/Crypto.c
+++ b/src/Common/Crypto.c
@@ -79,7 +79,7 @@ static EncryptionAlgorithm EncryptionAlgorithms[] =
{ { TWOFISH, 0 }, { XTS, 0 }, 1, 1 },
{ { CAMELLIA, 0 }, { XTS, 0 }, 1, 1 },
#if defined(CIPHER_GOST89)
- { { GOST89, 0 }, { XTS, 0 }, 0, 1 },
+ { { GOST89, 0 }, { XTS, 0 }, 0, 0 },
#endif // defined(CIPHER_GOST89)
{ { KUZNYECHIK, 0 }, { XTS, 0 }, 0, 1 },
{ { TWOFISH, AES, 0 }, { XTS, 0 }, 1, 1 },
diff --git a/src/Volume/EncryptionAlgorithm.cpp b/src/Volume/EncryptionAlgorithm.cpp
index 119b5539..df8afec5 100644
--- a/src/Volume/EncryptionAlgorithm.cpp
+++ b/src/Volume/EncryptionAlgorithm.cpp
@@ -298,7 +298,7 @@ namespace VeraCrypt
// GOST89
- GOST89::GOST89 ()
+ GOST89::GOST89 () : Deprecated (true)
{
Ciphers.push_back (shared_ptr <Cipher> (new CipherGost89()));