aboutsummaryrefslogtreecommitdiff
path: root/lang/python313/files/patch-Modules___blake2_blake2s__impl.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python313/files/patch-Modules___blake2_blake2s__impl.c')
-rw-r--r--lang/python313/files/patch-Modules___blake2_blake2s__impl.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/python313/files/patch-Modules___blake2_blake2s__impl.c b/lang/python313/files/patch-Modules___blake2_blake2s__impl.c
new file mode 100644
index 000000000000..101877f1ae87
--- /dev/null
+++ b/lang/python313/files/patch-Modules___blake2_blake2s__impl.c
@@ -0,0 +1,14 @@
+--- 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) {