From 268eacb1fa13470f22d6bcea81e9403d3824e8cb Mon Sep 17 00:00:00 2001 From: David Troy Date: Sat, 1 Apr 2006 17:47:13 +0000 Subject: git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/branches/1.20pre@48 f02b47b9-160a-0410-81a6-dc3441afb0ec --- src/ssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ssl.c') diff --git a/src/ssl.c b/src/ssl.c index 5570790..7ff4ab5 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -289,12 +289,12 @@ int is_encrypt_request(int sslclhellotimeout, int fd) if ((buf[0x00] == 0x16) && (buf[0x01] == 0x03) && /* for tls buf[0x02] = 0x01 and ssl v3 buf[0x02] = 0x02 */ ((buf[0x02] == 0x00) || (buf[0x02] == 0x01))) { - if (option_debug > 1) + if (debug) debugmsg("Received a SSL request\n"); return 1; /* check for sslv23_client_method */ } else if ((buf[0x02] == 0x01) && (buf[0x03] == 0x03) && (buf[0x04] == 0x01)) { - if (option_debug > 1) + if (debug) debugmsg("Received a SSL request for SSLv23_client_method()\n"); return 1; } -- cgit