aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ssl.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2006-02-07 10:26:20 +0000
committerJörg Mayer <jmayer@loplof.de>2006-02-07 10:26:20 +0000
commit83068a9b9d80617a3c478a512eaed169140a1734 (patch)
tree7f32c1c588df22a5e2cf4519f49b504be95c4b80 /epan/dissectors/packet-ssl.c
parentc24e4dd59752042d0b751b4b188d3e829e067453 (diff)
Paolo Abeni:
>There is still an issue into the HAVE_LIBGNUTLS macro definition. I'm >fixing it and cleaning a bit the windows side configuration. I hope to >post soon the fix. The attached patch should fix the issue. I missed to modify the config.win32 file and I misstyped a few macros name. svn path=/trunk/; revision=17200
Diffstat (limited to 'epan/dissectors/packet-ssl.c')
-rw-r--r--epan/dissectors/packet-ssl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ssl.c b/epan/dissectors/packet-ssl.c
index ba5c040057..f3c10cdabb 100644
--- a/epan/dissectors/packet-ssl.c
+++ b/epan/dissectors/packet-ssl.c
@@ -403,13 +403,19 @@ static void ssl_parse(void)
ssl_debug_printf("ssl_init found host entry %s\n", addr);
port = strchr(addr, ':');
if (!port)
+ {
+ ssl_debug_printf("ssl_init entry malformed can't find port in %s\n", addr);
break;
+ }
*port = 0;
port++;
filename = strchr(port,':');
if (!filename)
+ {
+ ssl_debug_printf("ssl_init entry malformed can't find filename in %s\n", port);
break;
+ }
*filename=0;
filename++;