Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global constants to class properties #75

Merged
merged 1 commit into from
Jul 22, 2024
Merged

Conversation

erikn69
Copy link
Contributor

@erikn69 erikn69 commented Jul 18, 2024

causes a error constant already defined when using the library to sign multiple times a document. The constant is created during the first sign. I suppose that this __SIGNATURE_MAX_LENGTH depends of signature_data parameters so should be move to a protected parameter instead of a global constant

@dealfonso dealfonso merged commit 8a9b844 into dealfonso:main Jul 22, 2024
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.

__SIGNATURE_MAX_LENGTH already defined when using multiple PDFDoc objects in the same script.
2 participants