aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cryptography/x509/extensions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cryptography/x509/extensions.py b/src/cryptography/x509/extensions.py
index 9eff3431..44d5be94 100644
--- a/src/cryptography/x509/extensions.py
+++ b/src/cryptography/x509/extensions.py
@@ -284,6 +284,9 @@ class AuthorityInformationAccess(object):
def __getitem__(self, idx):
return self._descriptions[idx]
+ def __hash__(self):
+ return hash(tuple(self._descriptions))
+
class AccessDescription(object):
def __init__(self, access_method, access_location):