summaryrefslogtreecommitdiffstats
path: root/src/ssl.c
diff options
context:
space:
mode:
authorDavid Troy <dave@popvox.com>2006-04-03 16:23:01 +0000
committerDavid Troy <dave@popvox.com>2006-04-03 16:23:01 +0000
commitbbf337d7f093d32703477f2722591ac08f8230bb (patch)
treef686336d5fdc65df4008a2fa57f5b861c3f5c780 /src/ssl.c
parentdc56649b0e188704512719be80ecb6f544cef0e7 (diff)
downloadastmanproxy-bbf337d7f093d32703477f2722591ac08f8230bb.tar.gz
astmanproxy-bbf337d7f093d32703477f2722591ac08f8230bb.tar.xz
astmanproxy-bbf337d7f093d32703477f2722591ac08f8230bb.zip
git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/branches/1.20pre@71 f02b47b9-160a-0410-81a6-dc3441afb0ec
Diffstat (limited to 'src/ssl.c')
-rw-r--r--src/ssl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ssl.c b/src/ssl.c
index 7f57362..265c961 100644
--- a/src/ssl.c
+++ b/src/ssl.c
@@ -300,6 +300,8 @@ int is_encrypt_request(int sslclhellotimeout, int fd)
}
/* check for sslv2 and return -1 */
else if ((buf[0x02] == 0x01) && (buf[0x03] == 0x00) && (buf[0x04] == 0x02)) {
+ if (debug)
+ debugmsg("Received a SSLv2 request()");
return -1;
}
}