diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-05 15:31:58 -0800 | 
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-05 15:31:58 -0800 | 
| commit | 44ca536328e0c50263aaec57c89e4ab3dae3b2b3 (patch) | |
| tree | 5d30ab83c5c3f60982755a709528e59e1ba58144 /cryptography | |
| parent | 9d1c2ea124dd258df616279f860e74821871033a (diff) | |
| download | cryptography-44ca536328e0c50263aaec57c89e4ab3dae3b2b3.tar.gz cryptography-44ca536328e0c50263aaec57c89e4ab3dae3b2b3.tar.bz2 cryptography-44ca536328e0c50263aaec57c89e4ab3dae3b2b3.zip | |
Fix
Diffstat (limited to 'cryptography')
| -rw-r--r-- | cryptography/hazmat/bindings/openssl/backend.py | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/cryptography/hazmat/bindings/openssl/backend.py b/cryptography/hazmat/bindings/openssl/backend.py index 0f3268ac..d844f3fc 100644 --- a/cryptography/hazmat/bindings/openssl/backend.py +++ b/cryptography/hazmat/bindings/openssl/backend.py @@ -317,8 +317,9 @@ class HMACs(object):          evp_md = self._backend.lib.EVP_get_digestbyname(              hash_cls.name.encode('ascii'))          assert evp_md != self._backend.ffi.NULL -        res = self._backend.lib.HMAC_Init_ex(ctx, key, len(key), evp_md, -                                             self._backend.ffi.NULL) +        res = self._backend.lib.Cryptography_HMAC_Init_ex( +            ctx, key, len(key), evp_md, self._backend.ffi.NULL +        )          assert res != 0          return ctx | 
