Add version info to the top of the SSL debug log.

svn path=/trunk/; revision=46291
This commit is contained in:
Gerald Combs 2012-11-29 19:20:29 +00:00
parent 749e52d996
commit c33b0ad215
1 changed files with 8 additions and 0 deletions

View File

@ -39,6 +39,8 @@
#include <epan/ipv6-utils.h>
#include <wsutil/file_util.h>
#include <svnversion.h>
/*
* Lookup tables
*/
@ -3879,6 +3881,12 @@ ssl_set_debug(const gchar* name)
ssl_debug_file = ws_fopen(name, "w");
if (!use_stderr && ssl_debug_file)
debug_file_must_be_closed = 1;
ssl_debug_printf("Wireshark SSL debug log " VERSION
#ifdef SVNVERSION
" (" SVNVERSION " from " SVNPATH ")"
#endif
"\n\n");
}
void