mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Empty file name bug was fixed
This commit is contained in:
parent
5cecf51ee4
commit
3739f5f1f1
1 changed files with 1 additions and 1 deletions
|
|
@ -936,7 +936,7 @@ void AutoLock(bool minimize)
|
|||
|
||||
try
|
||||
{
|
||||
OpenFile.FileName = toolStripStatusLabel1.ToolTipText;
|
||||
OpenFile.FileName = filename;
|
||||
string opnfile = File.ReadAllText(OpenFile.FileName);
|
||||
string NameWithotPath = Path.GetFileName(OpenFile.FileName);
|
||||
string de = AES.Decrypt(opnfile, key, ps.TheSalt, ps.HashAlgorithm, ps.PasswordIterations, "16CHARSLONG12345", ps.KeySize);
|
||||
|
|
|
|||
Loading…
Reference in a new issue