aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2013-08-28 01:12:58 +0000
committerRob Austein <sra@hactrn.net>2013-08-28 01:12:58 +0000
commit8af0e18dc695b1fbf56fedc4ab3d6b1a179e4abe (patch)
tree9f5ae24c99176f542e09458c6f58f39c2a2fc655
parent2e5321340791a021c0dc1853d1452bac0483621c (diff)
Pass Python exceptions from callback through to caller correctly.
svn path=/trunk/; revision=5473
-rw-r--r--rpkid/ext/POW.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/ext/POW.c b/rpkid/ext/POW.c
index bee04afa..b4018802 100644
--- a/rpkid/ext/POW.c
+++ b/rpkid/ext/POW.c
@@ -3737,7 +3737,7 @@ x509_store_object_verify(x509_store_object *self, PyObject *args)
sk_X509_free(stack);
- if (ok < 0 && PyErr_Occurred())
+ if (PyErr_Occurred())
goto error;
if (ok < 0)