Browse Source

Cleanup CheckPassword like was done for HandleInitPassword already in 28f3e880.

Martijn Laan 1 month ago
parent
commit
25bc7d943c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Projects/Src/Setup.WizardForm.pas

+ 1 - 1
Projects/Src/Setup.WizardForm.pas

@@ -2444,7 +2444,7 @@ procedure TWizardForm.NextButtonClick(Sender: TObject);
 
     if Result then begin
       NeedPassword := False;
-      if SetupEncryptionHeader.EncryptionUse <> euNone then
+      if SetupEncryptionHeader.EncryptionUse = euFiles then
         FileExtractor.CryptKey := CryptKey;
       PasswordEdit.Text := '';
     end else begin