Skip to content

python-xmlsec fails on big-endian systems #208

@ChrisMacNaughton

Description

@ChrisMacNaughton

While working to enable python-xmlsec on Ubuntu, the function below fails because H is defined as an "unsigned short int", where the format is defined as a "short int":

if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OH|z:from_file", kwlist, &file, &format, &password)) {

changing it to OI resolves the test failures on big-endian systems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions