Skip to content

Commit f06a52e

Browse files
committed
cosmetic alignment updates
1 parent 9e34c0e commit f06a52e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Modules/_hashopenssl.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,14 +1417,14 @@ _hashlib_scrypt_impl(PyObject *module, Py_buffer *password, Py_buffer *salt,
14171417
r = PyLong_AsUnsignedLong(r_obj);
14181418
if (r == (unsigned long) -1 && PyErr_Occurred()) {
14191419
PyErr_SetString(PyExc_TypeError,
1420-
"r is required and must be an unsigned int");
1420+
"r is required and must be an unsigned int");
14211421
return NULL;
14221422
}
14231423

14241424
p = PyLong_AsUnsignedLong(p_obj);
14251425
if (p == (unsigned long) -1 && PyErr_Occurred()) {
14261426
PyErr_SetString(PyExc_TypeError,
1427-
"p is required and must be an unsigned int");
1427+
"p is required and must be an unsigned int");
14281428
return NULL;
14291429
}
14301430

@@ -1433,14 +1433,14 @@ _hashlib_scrypt_impl(PyObject *module, Py_buffer *password, Py_buffer *salt,
14331433
future. The maxmem constant is private to OpenSSL. */
14341434
PyErr_Format(PyExc_ValueError,
14351435
"maxmem must be positive and smaller than %d",
1436-
INT_MAX);
1436+
INT_MAX);
14371437
return NULL;
14381438
}
14391439

14401440
if (dklen < 1 || dklen > INT_MAX) {
14411441
PyErr_Format(PyExc_ValueError,
1442-
"dklen must be greater than 0 and smaller than %d",
1443-
INT_MAX);
1442+
"dklen must be greater than 0 and smaller than %d",
1443+
INT_MAX);
14441444
return NULL;
14451445
}
14461446

0 commit comments

Comments
 (0)