From: Christian Heimes Date: Sun, 20 Oct 2013 11:23:03 +0000 (+0200) Subject: Make PKCS5_PBKDF2_HMAC_fast() a static function X-Git-Tag: v3.4.0b1~571^2~24^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6564b9474fb3250db80f44784b1e79f330953a9;p=python Make PKCS5_PBKDF2_HMAC_fast() a static function --- diff --git a/Modules/_hashopenssl.c b/Modules/_hashopenssl.c index 3f796c30d6..d71550059b 100644 --- a/Modules/_hashopenssl.c +++ b/Modules/_hashopenssl.c @@ -513,10 +513,11 @@ 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, - const unsigned char *salt, int saltlen, - int iter, const EVP_MD *digest, - int keylen, unsigned char *out) +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) { unsigned char digtmp[EVP_MAX_MD_SIZE], *p, itmp[4]; int cplen, j, k, tkeylen, mdlen;