Author: Carl Friedrich Bolz-Tereick <[email protected]>
Branch: py3.7
Changeset: r98663:e1662647d2eb
Date: 2020-02-04 13:31 +0100
http://bitbucket.org/pypy/pypy/changeset/e1662647d2eb/

Log:    use the Python implementation of hmac.digest for now

diff --git a/lib-python/3/hmac.py b/lib-python/3/hmac.py
--- a/lib-python/3/hmac.py
+++ b/lib-python/3/hmac.py
@@ -164,7 +164,8 @@
 
     Note: key and msg must be a bytes or bytearray objects.
     """
-    if (_hashopenssl is not None and
+    if (False and # PyPy does not implement this shortcut yet
+            _hashopenssl is not None and
             isinstance(digest, str) and digest in _openssl_md_meths):
         return _hashopenssl.hmac_digest(key, msg, digest)
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to