Initial record tracing code. Print out all fields in SSL/TLS records

for debugging purposes. Needs "enable-ssl-trace" configuration option.
This commit is contained in:
Dr. Stephen Henson
2012-06-15 12:46:09 +00:00
parent dfcf48f499
commit 93ab9e421e
7 changed files with 1285 additions and 8 deletions

View File

@@ -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.