We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f712cb commit 3559f22Copy full SHA for 3559f22
Modules/_hashopenssl.c
@@ -2229,13 +2229,12 @@ _hashlib_hmac_digest_size(HMACobject *self)
2229
return (unsigned int)digest_size;
2230
}
2231
2232
-
2233
static int
2234
-_hmac_update(HMACobject *self, PyObject *data)
+_hmac_update(HMACobject *self, PyObject *obj)
2235
{
2236
int r;
2237
Py_buffer view = {0};
2238
- GET_BUFFER_VIEW_OR_ERROR(data, &view, return -1);
+ GET_BUFFER_VIEW_OR_ERROR(obj, &view, return -1);
2239
HASHLIB_EXTERNAL_INSTRUCTIONS_LOCKED(
2240
self, view.len,
2241
r = hashlib_openssl_HMAC_update_once(self->ctx, &view)
0 commit comments