projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix wrong numbers being passed as string lengths
[openssl.git]
/
apps
/
s_server.c
diff --git
a/apps/s_server.c
b/apps/s_server.c
index cf5b50016f35946069cc2aebee8cb6650716809c..42088d0e8464e6db60a0106beeb21df0e2e67073 100644
(file)
--- a/
apps/s_server.c
+++ b/
apps/s_server.c
@@
-2745,7
+2745,7
@@
static int www_body(char *hostname, int s, int stype, unsigned char *context)
/* else we have data */
if (((www == 1) && (strncmp("GET ", buf, 4) == 0)) ||
- ((www == 2) && (strncmp("GET /stats ", buf, 1
0
) == 0))) {
+ ((www == 2) && (strncmp("GET /stats ", buf, 1
1
) == 0))) {
char *p;
X509 *peer;
STACK_OF(SSL_CIPHER) *sk;