Skip to content

Conversation

@hoefling
Copy link
Member

Due to changes in initialization order in #94 to fix #83, custom error callback is overwritten when PyXmlSec_init() is called. To work around that, the error callback is explicitly installed again. This also fixes wrong error type usage (xmlsec.InternalError instead of the base xmlsec.Error). Adjusted tests to reflect that.

Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
@hoefling hoefling merged commit 64ee3ab into xmlsec:master May 28, 2021
@hoefling hoefling deleted the pyxmlsec-error-callback branch May 28, 2021 20:17
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.

Segmentation fault when encrypting using EncryptionType.CONTENT

1 participant