Skip to content

Commit 8884b4a

Browse files
committed
use the same signature for the macro
1 parent aa41a74 commit 8884b4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_hashopenssl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1514,7 +1514,7 @@ _hashlib_openssl_shake_128_impl(PyObject *module, PyObject *data,
15141514
int usedforsecurity, PyObject *string)
15151515
/*[clinic end generated code: output=4e6afed8d18980ad input=373c3f1c93d87b37]*/
15161516
{
1517-
CALL_HASHLIB_NEW(module, Py_hash_shake_128, data, string, usedforsecurity);
1517+
CALL_HASHLIB_NEW(module, Py_hash_shake_128, data, usedforsecurity, string);
15181518
}
15191519

15201520
/*[clinic input]
@@ -1534,7 +1534,7 @@ _hashlib_openssl_shake_256_impl(PyObject *module, PyObject *data,
15341534
int usedforsecurity, PyObject *string)
15351535
/*[clinic end generated code: output=62481bce4a77d16c input=101c139ea2ddfcbf]*/
15361536
{
1537-
CALL_HASHLIB_NEW(module, Py_hash_shake_256, data, string, usedforsecurity);
1537+
CALL_HASHLIB_NEW(module, Py_hash_shake_256, data, usedforsecurity, string);
15381538
}
15391539
#endif /* PY_OPENSSL_HAS_SHAKE */
15401540

0 commit comments

Comments
 (0)