aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-11-29 19:20:29 +0000
committerGerald Combs <gerald@wireshark.org>2012-11-29 19:20:29 +0000
commitc33b0ad215b2f8be059b0a00319358547e5bac34 (patch)
treefb48af278fa4bf7a3641412b47d1fc65d59dcc41
parent749e52d996d78f40f6bf25c00e835719d16ce995 (diff)
Add version info to the top of the SSL debug log.
svn path=/trunk/; revision=46291
-rw-r--r--epan/dissectors/packet-ssl-utils.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ssl-utils.c b/epan/dissectors/packet-ssl-utils.c
index 99034df4dc..d102b341f3 100644
--- a/epan/dissectors/packet-ssl-utils.c
+++ b/epan/dissectors/packet-ssl-utils.c
@@ -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