summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Troy <dave@popvox.com>2006-04-02 18:10:36 +0000
committerDavid Troy <dave@popvox.com>2006-04-02 18:10:36 +0000
commit891db99d4ea8999915b7fd1077a9f39f8d0ce219 (patch)
tree1fe889c0d7255d2eafcdfeac8d7ba22aebdc25c0 /src
parentf11abe985ed5d6d99fcd218be661d5dbfeacaf9c (diff)
downloadastmanproxy-891db99d4ea8999915b7fd1077a9f39f8d0ce219.tar.gz
astmanproxy-891db99d4ea8999915b7fd1077a9f39f8d0ce219.tar.xz
astmanproxy-891db99d4ea8999915b7fd1077a9f39f8d0ce219.zip
git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/branches/1.20pre@65 f02b47b9-160a-0410-81a6-dc3441afb0ec
Diffstat (limited to 'src')
-rw-r--r--src/ssl.c6
1 files changed, 3 insertions, 3 deletions
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 */