Fixed #2121 -- added __eq__ and __ne__ to CSRs
diff --git a/src/cryptography/x509.py b/src/cryptography/x509.py
index afd28f2..b36258a 100644
--- a/src/cryptography/x509.py
+++ b/src/cryptography/x509.py
@@ -1391,6 +1391,18 @@
@six.add_metaclass(abc.ABCMeta)
class CertificateSigningRequest(object):
+ @abc.abstracmethod
+ def __eq__(self, other):
+ """
+ Checks equality.
+ """
+
+ @abc.abstractmethod
+ def __ne__(self, other):
+ """
+ Checks not equal.
+ """
+
@abc.abstractmethod
def public_key(self):
"""