summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/apps
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-04-16 18:23:52 +0000
committertedu <tedu@openbsd.org>2014-04-16 18:23:52 +0000
commitd9c21bb8bdb71d3b8c5ef3d73ea73e288e98136e (patch)
treede812aec82b5c8a3c07138dc2dc669df58fc0b5d /lib/libssl/src/apps
parentThanks to the knobs in http://tools.ietf.org/html/rfc5746, we have a knob (diff)
downloadwireguard-openbsd-d9c21bb8bdb71d3b8c5ef3d73ea73e288e98136e.tar.xz
wireguard-openbsd-d9c21bb8bdb71d3b8c5ef3d73ea73e288e98136e.zip
fix a few bugs observed on http://www.viva64.com/en/b/0250/
ok krw miod
Diffstat (limited to 'lib/libssl/src/apps')
-rw-r--r--lib/libssl/src/apps/s_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libssl/src/apps/s_server.c b/lib/libssl/src/apps/s_server.c
index 8d7568085a1..74cd2c83b3c 100644
--- a/lib/libssl/src/apps/s_server.c
+++ b/lib/libssl/src/apps/s_server.c
@@ -2494,7 +2494,7 @@ static int www_body(char *hostname, int s, unsigned char *context)
/* else we have data */
if ( ((www == 1) && (strncmp("GET ",buf,4) == 0)) ||
- ((www == 2) && (strncmp("GET /stats ",buf,10) == 0)))
+ ((www == 2) && (strncmp("GET /stats ",buf,11) == 0)))
{
char *p;
X509 *peer;