Skip to content

Commit 3559f22

Browse files
committed
reduce diff
1 parent 7f712cb commit 3559f22

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Modules/_hashopenssl.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2229,13 +2229,12 @@ _hashlib_hmac_digest_size(HMACobject *self)
22292229
return (unsigned int)digest_size;
22302230
}
22312231

2232-
22332232
static int
2234-
_hmac_update(HMACobject *self, PyObject *data)
2233+
_hmac_update(HMACobject *self, PyObject *obj)
22352234
{
22362235
int r;
22372236
Py_buffer view = {0};
2238-
GET_BUFFER_VIEW_OR_ERROR(data, &view, return -1);
2237+
GET_BUFFER_VIEW_OR_ERROR(obj, &view, return -1);
22392238
HASHLIB_EXTERNAL_INSTRUCTIONS_LOCKED(
22402239
self, view.len,
22412240
r = hashlib_openssl_HMAC_update_once(self->ctx, &view)

0 commit comments

Comments
 (0)