diff options
-rw-r--r-- | OpenSSL/crypto.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSSL/crypto.py b/OpenSSL/crypto.py index 1312c0a..d62ce84 100644 --- a/OpenSSL/crypto.py +++ b/OpenSSL/crypto.py @@ -274,6 +274,12 @@ class _EllipticCurve(object): """ _curves = None + def __ne__(self, other): + if isinstance(other, _EllipticCurve): + return super(_EllipticCurve, self).__ne__(other) + return NotImplemented + + @classmethod def _load_elliptic_curves(cls, lib): """ |