Skip to content

Commit 274978b

Browse files
stable
1 parent 0ab9a1a commit 274978b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/crypto.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -852,8 +852,8 @@ PyObject *aws_py_ec_decode_signature(PyObject *self, PyObject *args) {
852852
return NULL;
853853
}
854854

855-
PyTuple_SET_ITEM(result, 0, PyBytes_FromStringAndSize((char *)r_cur.ptr, r_cur.len));
856-
PyTuple_SET_ITEM(result, 1, PyBytes_FromStringAndSize((char *)s_cur.ptr, s_cur.len));
855+
PyTuple_SetItem(result, 0, PyBytes_FromStringAndSize((char *)r_cur.ptr, r_cur.len));
856+
PyTuple_SetItem(result, 1, PyBytes_FromStringAndSize((char *)s_cur.ptr, s_cur.len));
857857

858858
return result;
859859
}

0 commit comments

Comments
 (0)