mirror of
https://github.com/python/cpython.git
synced 2025-10-18 12:48:57 +00:00
Make PKCS5_PBKDF2_HMAC_fast() a static function
This commit is contained in:
parent
36af10c1f7
commit
c6564b9474
1 changed files with 5 additions and 4 deletions
|
@ -513,7 +513,8 @@ EVP_new(PyObject *self, PyObject *args, PyObject *kwdict)
|
|||
* Also OpenSSL < 1.0 don't provide PKCS5_PBKDF2_HMAC(), only
|
||||
* PKCS5_PBKDF2_SHA1.
|
||||
*/
|
||||
int PKCS5_PBKDF2_HMAC_fast(const char *pass, int passlen,
|
||||
static int
|
||||
PKCS5_PBKDF2_HMAC_fast(const char *pass, int passlen,
|
||||
const unsigned char *salt, int saltlen,
|
||||
int iter, const EVP_MD *digest,
|
||||
int keylen, unsigned char *out)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue