summaryrefslogtreecommitdiff
path: root/lang/python313/files/patch-Modules___blake2_blake2s__impl.c
blob: 101877f1ae8781a6400028e33f8ee7c3b7a9793c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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) {