@@ -78,7 +78,7 @@ TTestCipherStream = class(TCryptoLibAlgorithmTestCase)
7878
7979 strict private
8080 const
81- FData = ' This will be encrypted and then decrypted and checked for correctness' ;
81+ Data = ' This will be encrypted and then decrypted and checked for correctness' ;
8282
8383 strict private
8484 procedure DoRunTest (const AName: String; AIvLength: Int32);
@@ -478,47 +478,47 @@ procedure TTestCipherStream.TestEncryptDecryptA;
478478 LDataBytes, LEncryptedDataBytes, LDecryptedDataBytes: TCryptoLibByteArray;
479479 LDecryptedData: String;
480480begin
481- LDataBytes := TEncoding.ASCII.GetBytes(FData );
481+ LDataBytes := TEncoding.ASCII.GetBytes(Data );
482482 LEncryptedDataBytes := EncryptOnWrite(LDataBytes);
483483 LDecryptedDataBytes := DecryptOnRead(LEncryptedDataBytes);
484484 LDecryptedData := TEncoding.ASCII.GetString(LDecryptedDataBytes);
485- CheckEquals(FData , LDecryptedData);
485+ CheckEquals(Data , LDecryptedData);
486486end ;
487487
488488procedure TTestCipherStream.TestEncryptDecryptB ;
489489var
490490 LDataBytes, LEncryptedDataBytes, LDecryptedDataBytes: TCryptoLibByteArray;
491491 LDecryptedData: String;
492492begin
493- LDataBytes := TEncoding.ASCII.GetBytes(FData );
493+ LDataBytes := TEncoding.ASCII.GetBytes(Data );
494494 LEncryptedDataBytes := EncryptOnRead(LDataBytes);
495495 LDecryptedDataBytes := DecryptOnWrite(LEncryptedDataBytes);
496496 LDecryptedData := TEncoding.ASCII.GetString(LDecryptedDataBytes);
497- CheckEquals(FData , LDecryptedData);
497+ CheckEquals(Data , LDecryptedData);
498498end ;
499499
500500procedure TTestCipherStream.TestEncryptDecryptC ;
501501var
502502 LDataBytes, LEncryptedDataBytes, LDecryptedDataBytes: TCryptoLibByteArray;
503503 LDecryptedData: String;
504504begin
505- LDataBytes := TEncoding.ASCII.GetBytes(FData );
505+ LDataBytes := TEncoding.ASCII.GetBytes(Data );
506506 LEncryptedDataBytes := EncryptOnWrite(LDataBytes);
507507 LDecryptedDataBytes := DecryptOnWrite(LEncryptedDataBytes);
508508 LDecryptedData := TEncoding.ASCII.GetString(LDecryptedDataBytes);
509- CheckEquals(FData , LDecryptedData);
509+ CheckEquals(Data , LDecryptedData);
510510end ;
511511
512512procedure TTestCipherStream.TestEncryptDecryptD ;
513513var
514514 LDataBytes, LEncryptedDataBytes, LDecryptedDataBytes: TCryptoLibByteArray;
515515 LDecryptedData: String;
516516begin
517- LDataBytes := TEncoding.ASCII.GetBytes(FData );
517+ LDataBytes := TEncoding.ASCII.GetBytes(Data );
518518 LEncryptedDataBytes := EncryptOnRead(LDataBytes);
519519 LDecryptedDataBytes := DecryptOnRead(LEncryptedDataBytes);
520520 LDecryptedData := TEncoding.ASCII.GetString(LDecryptedDataBytes);
521- CheckEquals(FData , LDecryptedData);
521+ CheckEquals(Data , LDecryptedData);
522522end ;
523523
524524{ TTestDigestStream }
0 commit comments