diff --git a/python/gdata/src/gdata/tlslite/utils/cryptomath.py b/python/gdata/src/gdata/tlslite/utils/cryptomath.py index 51d6dff7c..42182daf0 100755 --- a/python/gdata/src/gdata/tlslite/utils/cryptomath.py +++ b/python/gdata/src/gdata/tlslite/utils/cryptomath.py @@ -6,7 +6,10 @@ import math import base64 import binascii -import sha +from functools import partial +from hashlib import new + +sha = partial(new,'sha') from compat import *