Skip to content

Commit bc30efd

Browse files
ChrisMacNaughtonhoefling
authored andcommitted
Resolve key loading issue on big-endian systems.
Closes: #208
1 parent 3ebbed8 commit bc30efd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/keys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ static PyObject* PyXmlSec_KeyFromFile(PyObject* self, PyObject* args, PyObject*
142142
Py_ssize_t data_size = 0;
143143

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

0 commit comments

Comments
 (0)