From 891db99d4ea8999915b7fd1077a9f39f8d0ce219 Mon Sep 17 00:00:00 2001 From: David Troy Date: Sun, 2 Apr 2006 18:10:36 +0000 Subject: git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/branches/1.20pre@65 f02b47b9-160a-0410-81a6-dc3441afb0ec --- src/ssl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ssl.c') diff --git a/src/ssl.c b/src/ssl.c index c4377cd..03c9cd8 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -278,7 +278,7 @@ int is_encrypt_request(int sslclhellotimeout, int fd) ready_fdescriptors = select (fd + 1, &listeners, NULL, NULL, &tv); if (ready_fdescriptors < 0 ) { - debugmsg("select returned error, This should not happen: \n"); + debugmsg("is_encrypt_request: select returned error, This should not happen:"); return 0; } else if (ready_fdescriptors == 0) { return 0; @@ -290,12 +290,12 @@ int is_encrypt_request(int sslclhellotimeout, int fd) /* for tls buf[0x02] = 0x01 and ssl v3 buf[0x02] = 0x02 */ ((buf[0x02] == 0x00) || (buf[0x02] == 0x01))) { if (debug) - debugmsg("Received a SSL request\n"); + debugmsg("Received a SSL request"); return 1; /* check for sslv23_client_method */ } else if ((buf[0x02] == 0x01) && (buf[0x03] == 0x03) && (buf[0x04] == 0x01)) { if (debug) - debugmsg("Received a SSL request for SSLv23_client_method()\n"); + debugmsg("Received a SSL request for SSLv23_client_method()"); return 1; } /* check for sslv2 and return -1 */ -- cgit