commit | 09ed91c5ac591a9c108b5685b9a9eba668dcd5fe | [log] [tgz] |
---|---|---|
author | Alex Gaynor <alex.gaynor@gmail.com> | Thu Jun 02 10:59:03 2016 -0700 |
committer | Alex Gaynor <alex.gaynor@gmail.com> | Thu Jun 02 10:59:03 2016 -0700 |
tree | cdec28f8a094a63666e4f698af5d6cec56ddd0a1 | |
parent | d708f9058496d418acaf37a0027a8bccdceef490 [diff] [blame] |
fix
diff --git a/src/OpenSSL/crypto.py b/src/OpenSSL/crypto.py index 0091906..ca77399 100644 --- a/src/OpenSSL/crypto.py +++ b/src/OpenSSL/crypto.py
@@ -1787,7 +1787,7 @@ obj = _lib.X509_EXTENSION_get_object(ext) if _lib.OBJ_obj2nid(obj) == _lib.NID_crl_reason: _lib.X509_EXTENSION_free(ext) - _lib.sk_X509_EXTENSION_delete(stack, i) + _lib.sk_X509_EXTENSION_delete(self._revoked.extensions, i) break def set_reason(self, reason):