aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-11-11 03:22:38 +0000
committerRob Austein <sra@hactrn.net>2015-11-11 03:22:38 +0000
commit9f6d6462a9cef37735a9d4c61921d04934fd9864 (patch)
treee5d1b046f6f6bd44faf1b5028f6f1df9698e2a88 /ext
parentac415cdd0f88f8479975627772dd0a84797b261a (diff)
Configure pylint to use the pylint-django plugin, which (mostly)
understands Django's exotic metaclasses, which in turn allows us to re-enable a number of pylint checks we had disabled. While we were at this, stripped out a bunch of old pylint pragmas, then added back the subset that were really needed. As usual with pylint, this turned up a few real bugs along with an awful lot of noise. svn path=/branches/tk705/; revision=6162
Diffstat (limited to 'ext')
-rw-r--r--ext/POW.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/ext/POW.c b/ext/POW.c
index d6d9a80e..645a4a96 100644
--- a/ext/POW.c
+++ b/ext/POW.c
@@ -1111,12 +1111,6 @@ whack_ec_key_to_namedCurve(EVP_PKEY *pkey)
* Validation status codes. Still under construction. Modeled after
* rcynic's validation status database, conceptually anyway.
*
- * Probably need to add an optional (default NULL) slot in
- * x509_store_ctx_object to hold the status set. Might also add a
- * method to that class so that Python handlers can fiddle with the
- * status from the callback, but am primarily thinking of the extended
- * validation C code here.
- *
* Assuming we go this way, should we PySet_Clear() the status set
* upon entering the _verify function? Probably.
*
@@ -4943,6 +4937,13 @@ x509_store_ctx_object_set_policy (x509_store_ctx_object *self, PyObject *args)
#endif /* IMPLEMENT_X509StoreCTX_POLICY */
/*
+ * Do we need an access method to let Python callbacks fiddle with the
+ * validation status set? Maybe. Skip for now, add later if needed.
+ * May need to pay closer attention to initialization and reference
+ * count management of the status field if we exposing it.
+ */
+
+/*
* See (omnibus) man page for X509_STORE_CTX_get_error() for other
* query methods we might want to expose. Someday we might want to
* support X509_V_FLAG_USE_CHECK_TIME too.