Skip to content

Commit 4743294

Browse files
committed
revert some naming
1 parent 614b48c commit 4743294

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Modules/_hashopenssl.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1995,7 +1995,7 @@ hashlib_openssl_HMAC_CTX_free(PY_HMAC_CTX_TYPE *ctx)
19951995
}
19961996

19971997
static int
1998-
hashlib_openssl_HMAC_update_with_lock(HMACobject *self, PyObject *data)
1998+
_hmac_update(HMACobject *self, PyObject *data)
19991999
{
20002000
int r;
20012001
Py_buffer view = {0};
@@ -2193,7 +2193,7 @@ _hashlib_hmac_new_impl(PyObject *module, Py_buffer *key, PyObject *msg_obj,
21932193

21942194
/* feed initial data */
21952195
if ((msg_obj != NULL) && (msg_obj != Py_None)) {
2196-
if (hashlib_openssl_HMAC_update_with_lock(self, msg_obj) < 0) {
2196+
if (_hmac_update(self, msg_obj) < 0) {
21972197
goto error;
21982198
}
21992199
}
@@ -2266,7 +2266,7 @@ static PyObject *
22662266
_hashlib_HMAC_update_impl(HMACobject *self, PyObject *msg)
22672267
/*[clinic end generated code: output=f31f0ace8c625b00 input=1829173bb3cfd4e6]*/
22682268
{
2269-
if (hashlib_openssl_HMAC_update_with_lock(self, msg) < 0) {
2269+
if (_hmac_update(self, msg) < 0) {
22702270
return NULL;
22712271
}
22722272
Py_RETURN_NONE;

0 commit comments

Comments
 (0)