aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/x509
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2017-09-14 01:55:31 +0800
committerAlex Gaynor <alex.gaynor@gmail.com>2017-09-13 13:55:31 -0400
commit54024493bd50ea6f27aa094dce2d0ddac43221f0 (patch)
tree2cb83e82fc20a7884ef9219233762d1cad467231 /src/cryptography/x509
parent89aaecb518ced08d8e244583e75a8c3fb600758e (diff)
downloadcryptography-54024493bd50ea6f27aa094dce2d0ddac43221f0.tar.gz
cryptography-54024493bd50ea6f27aa094dce2d0ddac43221f0.tar.bz2
cryptography-54024493bd50ea6f27aa094dce2d0ddac43221f0.zip
AIA hashing (#3911)
Diffstat (limited to 'src/cryptography/x509')
-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):