mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-24 12:03:28 +01:00
Linux/MacOSX: Add help text for GOST89 and Kuznyechik
This commit is contained in:
parent
e90e24b30b
commit
58cff70724
@ -80,6 +80,10 @@ namespace VeraCrypt
|
|||||||
EncryptionAlgorithmStaticText->SetLabel (LangString["TWOFISH_HELP"]);
|
EncryptionAlgorithmStaticText->SetLabel (LangString["TWOFISH_HELP"]);
|
||||||
else if (typeid (*ea) == typeid (Camellia))
|
else if (typeid (*ea) == typeid (Camellia))
|
||||||
EncryptionAlgorithmStaticText->SetLabel (LangString["CAMELLIA_HELP"]);
|
EncryptionAlgorithmStaticText->SetLabel (LangString["CAMELLIA_HELP"]);
|
||||||
|
else if (typeid (*ea) == typeid (GOST89))
|
||||||
|
EncryptionAlgorithmStaticText->SetLabel (LangString["GOST89_HELP"]);
|
||||||
|
else if (typeid (*ea) == typeid (Kuznyechik))
|
||||||
|
EncryptionAlgorithmStaticText->SetLabel (LangString["KUZNYECHIK_HELP"]);
|
||||||
else
|
else
|
||||||
EncryptionAlgorithmStaticText->SetLabel (L"");
|
EncryptionAlgorithmStaticText->SetLabel (L"");
|
||||||
}
|
}
|
||||||
|
@ -537,12 +537,12 @@ namespace VeraCrypt
|
|||||||
{
|
{
|
||||||
virtual void operator() (string &passwordStr)
|
virtual void operator() (string &passwordStr)
|
||||||
{
|
{
|
||||||
if (CmdLine->ArgTokenPin && CmdLine->ArgTokenPin->IsAllocated ())
|
if (CmdLine->ArgTokenPin && CmdLine->ArgTokenPin->IsAllocated ())
|
||||||
{
|
{
|
||||||
passwordStr.clear();
|
passwordStr.clear();
|
||||||
passwordStr.insert (0, (char*) CmdLine->ArgTokenPin->Ptr (), CmdLine->ArgTokenPin->Size());
|
passwordStr.insert (0, (char*) CmdLine->ArgTokenPin->Ptr (), CmdLine->ArgTokenPin->Size());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Gui->GetPreferences().NonInteractive)
|
if (Gui->GetPreferences().NonInteractive)
|
||||||
throw MissingArgument (SRC_POS);
|
throw MissingArgument (SRC_POS);
|
||||||
@ -1163,6 +1163,14 @@ namespace VeraCrypt
|
|||||||
{
|
{
|
||||||
url = L"https://veracrypt.codeplex.com/wikipage?title=Camellia";
|
url = L"https://veracrypt.codeplex.com/wikipage?title=Camellia";
|
||||||
}
|
}
|
||||||
|
else if (linkId == L"GOST89")
|
||||||
|
{
|
||||||
|
url = L"https://veracrypt.codeplex.com/wikipage?title=GOST89";
|
||||||
|
}
|
||||||
|
else if (linkId == L"Kuznyechik")
|
||||||
|
{
|
||||||
|
url = L"https://veracrypt.codeplex.com/wikipage?title=Kuznyechik";
|
||||||
|
}
|
||||||
else if (linkId == L"cascades")
|
else if (linkId == L"cascades")
|
||||||
{
|
{
|
||||||
url = L"https://veracrypt.codeplex.com/wikipage?title=Cascades";
|
url = L"https://veracrypt.codeplex.com/wikipage?title=Cascades";
|
||||||
|
Loading…
Reference in New Issue
Block a user