diff options
author | Ayrx <terrycwk1994@gmail.com> | 2014-04-18 20:40:05 +0800 |
---|---|---|
committer | Ayrx <terrycwk1994@gmail.com> | 2014-04-22 12:12:41 +0800 |
commit | 4b8628aa626413d41ebc976c1a097ca3f4e13959 (patch) | |
tree | b8083074ee2b72968f8771998765db1f004d7315 | |
parent | a536085949f5bd1b479eb313ea1c0b114294c0fd (diff) | |
download | cryptography-4b8628aa626413d41ebc976c1a097ca3f4e13959.tar.gz cryptography-4b8628aa626413d41ebc976c1a097ca3f4e13959.tar.bz2 cryptography-4b8628aa626413d41ebc976c1a097ca3f4e13959.zip |
Updated multibackend
-rw-r--r-- | cryptography/hazmat/backends/multibackend.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cryptography/hazmat/backends/multibackend.py b/cryptography/hazmat/backends/multibackend.py index 23385682..2d75fd11 100644 --- a/cryptography/hazmat/backends/multibackend.py +++ b/cryptography/hazmat/backends/multibackend.py @@ -158,9 +158,9 @@ class MultiBackend(object): raise UnsupportedAlgorithm("DSA is not supported by the backend", _Reasons.UNSUPPORTED_PUBLIC_KEY_ALGORITHM) - def cmac_supported(self): + def cmac_algorithm_supported(self, algorithm): for b in self._filtered_backends(CMACBackend): - return b.cmac_supported() + return b.cmac_algorithm_supported(algorithm) def create_cmac_ctx(self, algorithm): for b in self._filtered_backends(CMACBackend): |