The only difference between "stock" and regenerated blake2s_impl.c is where a variable is declared in py_blake2s_new_impl(). Patch the stock file to the regenerated version so the regeneration script does not get called. Reported by: fluffy, jan[at]glaubitz[dot]org PR: 274671
15 lines
433 B
C
15 lines
433 B
C
--- Modules/_blake2/blake2s_impl.c.orig 2025-10-14 13:52:31 UTC
|
|
+++ Modules/_blake2/blake2s_impl.c
|
|
@@ -103,10 +103,10 @@ py_blake2s_new_impl(PyTypeObject *type, PyObject *data
|
|
{
|
|
BLAKE2sObject *self = NULL;
|
|
PyObject *data;
|
|
+ Py_buffer buf;
|
|
if (_Py_hashlib_data_argument(&data, data_obj, string) < 0) {
|
|
return NULL;
|
|
}
|
|
- Py_buffer buf;
|
|
|
|
self = new_BLAKE2sObject(type);
|
|
if (self == NULL) {
|