Fix #7245
This commit is contained in:
parent
1f149861f9
commit
7e12cc57c6
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ test_xor64(PyObject *self UNUSED, PyObject *args) {
|
|||
RAII_PY_BUFFER(key);
|
||||
int which_function = 0, align_offset = 0;
|
||||
void (*func)(const uint8_t key[64], uint8_t* data, const size_t data_sz) = xor_data64;
|
||||
if (!PyArg_ParseTuple(args, "s*s*BB|ii", &key, &buf, &which_function, &align_offset)) return NULL;
|
||||
if (!PyArg_ParseTuple(args, "s*s*|ii", &key, &buf, &which_function, &align_offset)) return NULL;
|
||||
switch (which_function) {
|
||||
case 1:
|
||||
func = xor_data64_scalar; break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue