Skip to content

Commit

Permalink
Resolve key loading issue on big-endian systems.
Browse files Browse the repository at this point in the history
Closes: #208
  • Loading branch information
ChrisMacNaughton authored and hoefling committed Aug 20, 2022
1 parent 3ebbed8 commit bc30efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/keys.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ static PyObject* PyXmlSec_KeyFromFile(PyObject* self, PyObject* args, PyObject*
Py_ssize_t data_size = 0;

PYXMLSEC_DEBUG("load key from file - start");
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OH|z:from_file", kwlist, &file, &format, &password)) {
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OI|z:from_file", kwlist, &file, &format, &password)) {
goto ON_FAIL;
}

Expand Down

0 comments on commit bc30efd

Please sign in to comment.