diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptography/x509/extensions.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cryptography/x509/extensions.py b/src/cryptography/x509/extensions.py index 3e6fc3b3..fe9bcf9b 100644 --- a/src/cryptography/x509/extensions.py +++ b/src/cryptography/x509/extensions.py @@ -313,6 +313,9 @@ class AccessDescription(object): def __ne__(self, other): return not self == other + def __hash__(self): + return hash((self.access_method, self.access_location)) + access_method = utils.read_only_property("_access_method") access_location = utils.read_only_property("_access_location") |