summaryrefslogtreecommitdiff
path: root/src/common/tortls.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-04-23 14:26:02 +0000
committerNick Mathewson <nickm@torproject.org>2005-04-23 14:26:02 +0000
commit5827e2e216ad759f240a0c332848cadf65794742 (patch)
tree0290c3e0f18d499ad77d106f622a28e395241dc8 /src/common/tortls.h
parentad4eca60ec0839abdaff69a0a896436cbd5b30d6 (diff)
downloadtor-5827e2e216ad759f240a0c332848cadf65794742.tar.gz
tor-5827e2e216ad759f240a0c332848cadf65794742.zip
Fix "JAP-client" hideous ASN1 bug, twice. (Fix1: check more thoroughly for TLS errors when handling certs. Fix2: stop assert(0)ing on uncaught TLS errors.)debian-version-0.1.0.3-rc-200504231430-1
svn:r4085
Diffstat (limited to 'src/common/tortls.h')
-rw-r--r--src/common/tortls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h
index 2d568a9807..4d8aba264b 100644
--- a/src/common/tortls.h
+++ b/src/common/tortls.h
@@ -46,9 +46,9 @@ unsigned long tor_tls_get_n_bytes_written(tor_tls *tls);
/* Log and abort if there are unhandled TLS errors in OpenSSL's error stack.
*/
-#define assert_no_tls_errors() _assert_no_tls_errors(_SHORT_FILE_,__LINE__)
+#define check_no_tls_errors() _check_no_tls_errors(_SHORT_FILE_,__LINE__)
-void _assert_no_tls_errors(const char *fname, int line);
+void _check_no_tls_errors(const char *fname, int line);
#endif