diff options
author | David Troy <dave@popvox.com> | 2006-04-02 18:10:36 +0000 |
---|---|---|
committer | David Troy <dave@popvox.com> | 2006-04-02 18:10:36 +0000 |
commit | 891db99d4ea8999915b7fd1077a9f39f8d0ce219 (patch) | |
tree | 1fe889c0d7255d2eafcdfeac8d7ba22aebdc25c0 /src | |
parent | f11abe985ed5d6d99fcd218be661d5dbfeacaf9c (diff) | |
download | astmanproxy-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 */ |