summaryrefslogtreecommitdiffstats
path: root/ssl/ssl.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-06-15 12:46:09 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-06-15 12:46:09 +0000
commit93ab9e421e4517b81d11ca741d55e6bb6f696c40 (patch)
tree04cf24ccc17855f9fb19412dd359b792e5855c85 /ssl/ssl.h
parentdfcf48f499f19fd17a3aee03151ea301814ea6ec (diff)
Initial record tracing code. Print out all fields in SSL/TLS records
for debugging purposes. Needs "enable-ssl-trace" configuration option.
Diffstat (limited to 'ssl/ssl.h')
-rw-r--r--ssl/ssl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ssl/ssl.h b/ssl/ssl.h
index 42bc51ea40..17bdc5a69c 100644
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -2136,6 +2136,11 @@ void SSL_set_not_resumable_session_callback(SSL *ssl,
void SSL_set_debug(SSL *s, int debug);
int SSL_cache_hit(SSL *s);
+#ifndef OPENSSL_NO_SSL_TRACE
+void SSL_trace(int write_p, int version, int content_type,
+ const void *buf, size_t len, SSL *ssl, void *arg);
+#endif
+
/* BEGIN ERROR CODES */
/* The following lines are auto generated by the script mkerr.pl. Any changes
* made after this point may be overwritten when the script is next run.