commit | d369c93be3d185aafd646e2008048c4ae1ff600e | [log] [tgz] |
---|---|---|
author | Rick Dean <fdd@halyard.fdd.com> | Wed Jul 08 11:48:33 2009 -0500 |
committer | Rick Dean <fdd@halyard.fdd.com> | Wed Jul 08 11:48:33 2009 -0500 |
tree | 9937682e22596836b2958b9f7a42b8191d139036 | |
parent | fc69c81a2eaa8216cacc9a8922af4fe29b01e026 [diff] [blame] |
Convert exception_from_error_queue() macros into a single function. Besides code maintainability, this makes our fast path shorter for better cache performance.
diff --git a/src/crypto/x509store.c b/src/crypto/x509store.c index 9f46029..16af3b0 100644 --- a/src/crypto/x509store.c +++ b/src/crypto/x509store.c
@@ -27,7 +27,7 @@ if (!X509_STORE_add_cert(self->x509_store, cert->x509)) { - exception_from_error_queue(); + exception_from_error_queue(crypto_Error); return NULL; }