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 ca323a3b..7979ccb2 100644 --- a/src/cryptography/x509/extensions.py +++ b/src/cryptography/x509/extensions.py @@ -1022,6 +1022,9 @@ class CRLReason(object): def __ne__(self, other): return not self == other + def __hash__(self): + return hash(self.reason) + reason = utils.read_only_property("_reason") |