- dt=DigestType(digesttype)
- out=create_string_buffer(outlen)
- res=libcrypto.PKCS5_PBKDF2_HMAC(password,len(password),salt,len(salt),
- iterations,dt.digest,outlen,out)
- if res<=0:
+ dgst = DigestType(digesttype)
+ out = create_string_buffer(outlen)
+ res = libcrypto.PKCS5_PBKDF2_HMAC(password, len(password), salt, len(salt),
+ iterations, dgst.digest, outlen, out)
+ if res <= 0: