Martijn Laan 3 months ago
parent
commit
3ea016b673
2 changed files with 3 additions and 3 deletions
  1. 1 1
      Projects/Src/Setup.Install.pas
  2. 2 2
      Projects/Src/Shared.SetupTypes.pas

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

@@ -257,7 +257,7 @@ begin
 end;
 
 procedure CopySourceFileToDestFile(const SourceF, DestF: TFile;
-  const ISSigVerify: Boolean; [Ref] const ISSigAvailableKeys: TArrayOfECDSAKey;
+  const ISSigVerify: Boolean; [ref] const ISSigAvailableKeys: TArrayOfECDSAKey;
   const ISSigAllowedKeys: AnsiString; const ISSigSourceFilename: String; AMaxProgress: Integer64);
 { Copies all bytes from SourceF to DestF, incrementing process meter as it
   goes. Assumes file pointers of both are 0. }

+ 2 - 2
Projects/Src/Shared.SetupTypes.pas

@@ -56,7 +56,7 @@ procedure HandleRenamedConstants(var Cnst: String; const RenamedConstantCallback
 procedure GenerateEncryptionKey(const Password: String; const Salt: TSetupKDFSalt;
   const Iterations: Integer; out Key: TSetupEncryptionKey);
 procedure SetISSigAllowedKey(var ISSigAllowedKeys: AnsiString; const KeyIndex: Integer);
-function GetISSigAllowedKeys([Ref] const ISSigAvailableKeys: TArrayOfECDSAKey;
+function GetISSigAllowedKeys([ref] const ISSigAvailableKeys: TArrayOfECDSAKey;
   const ISSigAllowedKeys: AnsiString): TArrayOfECDSAKey;
 function IsExcluded(Text: String; const AExcludes: TStringList): Boolean;
 
@@ -332,7 +332,7 @@ begin
   Result := Byte(ISSigAllowedKeys[ByteIndex+1]) and (1 shl BitIndex) <> 0;
 end;
 
-function GetISSigAllowedKeys([Ref] const ISSigAvailableKeys: TArrayOfECDSAKey;
+function GetISSigAllowedKeys([ref] const ISSigAvailableKeys: TArrayOfECDSAKey;
   const ISSigAllowedKeys: AnsiString): TArrayOfECDSAKey;
 { Returns all keys if ISSigAllowedKeys is empty! }
 begin