diff options
Diffstat (limited to 'cryptography/hazmat/bindings/openssl/backend.py')
-rw-r--r-- | cryptography/hazmat/bindings/openssl/backend.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptography/hazmat/bindings/openssl/backend.py b/cryptography/hazmat/bindings/openssl/backend.py index 60d51305..4d1be3b0 100644 --- a/cryptography/hazmat/bindings/openssl/backend.py +++ b/cryptography/hazmat/bindings/openssl/backend.py @@ -344,7 +344,7 @@ class _HMACContext(object): copied_ctx, self._ctx ) assert res != 0 - return self.__class__( + return _HMACContext( self._backend, self._key, self.algorithm, ctx=copied_ctx ) |