Skip to content

Commit

Permalink
* [Packages] Add 2 Units to FPC Package.
Browse files Browse the repository at this point in the history
  • Loading branch information
Liu Xiao committed Mar 28, 2024
1 parent 13e18cb commit ea52c36
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion Package/FPC3/CnPack_FPC3.lpk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<Style Value="1"/>
</Parsing>
</CompilerOptions>
<Files Count="68">
<Files Count="70">
<Item1>
<Filename Value="../../Source/Crypto/CnAES.pas"/>
<UnitName Value="CnAES"/>
Expand Down Expand Up @@ -287,6 +287,14 @@
<Filename Value="../../Source/Common/CnJSON.pas"/>
<UnitName Value="CnJSON"/>
</Item68>
<Item69>
<Filename Value="../../Source/Crypto/CnRC4.pas"/>
<UnitName Value="CnRC4"/>
</Item69>
<Item70>
<Filename Value="../../Source/Crypto/CnPDFCrypt.pas"/>
<UnitName Value="CnPDFCrypt"/>
</Item70>
</Files>
<CompatibilityMode Value="True"/>
<RequiredPkgs Count="2">
Expand Down
3 changes: 2 additions & 1 deletion Package/FPC3/CnPack_FPC3.pas
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ interface
CnGraph, CnGraphUtils, CnHashMap, CnHashTable, CnLockFree, CnMath, CnMatrix,
CnRopes, CnSingleton, CnSingletonComp, CnSkipList, CnStrDiff, CnStream,
CnStrings, CnTree, CnTreeClasses, CnWideStrings, Cn25519, CnInt128, CnFNV,
CnPoly1305, CnChaCha20, CnBits, CnLattice, CnVector, CnJSON;
CnPoly1305, CnChaCha20, CnBits, CnLattice, CnVector, CnJSON, CnRC4,
CnPDFCrypt;

implementation

Expand Down
1 change: 0 additions & 1 deletion Source/Crypto/CnPDFCrypt.pas
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ implementation
SCnErrorPDFKeyLength = 'Invalid Key Length';
SCnErrorPDFDataLength = 'Invalid Data Length';
SCnErrorPDFEncryptParams = 'Invalid Encrypt Params';
SCnErrorPDFInvalidKeyBitLengthFmt = 'Invalid Key Bit Length %d for Revision %d';

function CnPDFFindEncryptionMethod(Version, Revision, KeyBitLength: Integer;
const CFMValue: string = ''): TCnPDFEncryptionMethod;
Expand Down

0 comments on commit ea52c36

Please sign in to comment.