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 fe9bcf9b..db55789e 100644
--- a/src/cryptography/x509/extensions.py
+++ b/src/cryptography/x509/extensions.py
@@ -693,6 +693,9 @@ class InhibitAnyPolicy(object):
def __ne__(self, other):
return not self == other
+ def __hash__(self):
+ return hash(self.skip_certs)
+
skip_certs = utils.read_only_property("_skip_certs")