From 4b8628aa626413d41ebc976c1a097ca3f4e13959 Mon Sep 17 00:00:00 2001 From: Ayrx Date: Fri, 18 Apr 2014 20:40:05 +0800 Subject: Updated multibackend --- cryptography/hazmat/backends/multibackend.py | 4 ++-- 1 file 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): -- cgit v1.2.3