Skip to content

Cast block-cipher engine arguments to interface in PssTests - #173

Merged
Xor-el merged 1 commit into
masterfrom
fix/psstest-block-cipher-casts
Aug 16, 2026
Merged

Cast block-cipher engine arguments to interface in PssTests#173
Xor-el merged 1 commit into
masterfrom
fix/psstest-block-cipher-casts

Conversation

@Xor-el

@Xor-el Xor-el commented Aug 16, 2026

Copy link
Copy Markdown
Owner

Every TRsaEngine.Create() / TRsaBlindedEngine.Create() passed straight into TPssSigner.Create / CreateRawSigner is now cast "as IAsymmetricBlockCipher" so the freshly constructed instance is owned by an interface reference and freed, rather than leaking. Add ClpIAsymmetricBlockCipher to the uses clause.

Every TRsaEngine.Create() / TRsaBlindedEngine.Create() passed straight into
TPssSigner.Create / CreateRawSigner is now cast "as IAsymmetricBlockCipher"
so the freshly constructed instance is owned by an interface reference and
freed, rather than leaking. Add ClpIAsymmetricBlockCipher to the uses clause.
@Xor-el
Xor-el merged commit 6d6b787 into master Aug 16, 2026
28 checks passed
@Xor-el
Xor-el deleted the fix/psstest-block-cipher-casts branch August 16, 2026 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant