projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix DTLS handshake message size checks.
[openssl.git]
/
apps
/
s_server.c
diff --git
a/apps/s_server.c
b/apps/s_server.c
index 9d1a1fa87ce508d1dd5d9af5b03a662cdffa40fa..639bb90c599f4687af1c204be6238b2f62b3e546 100644
(file)
--- a/
apps/s_server.c
+++ b/
apps/s_server.c
@@
-1532,6
+1532,14
@@
bad:
sv_usage();
goto end;
}
+#ifndef OPENSSL_NO_DTLS1
+ if (www && socket_type == SOCK_DGRAM)
+ {
+ BIO_printf(bio_err,
+ "Can't use -HTTP, -www or -WWW with DTLS\n");
+ goto end;
+ }
+#endif
if (unix_path && (socket_type != SOCK_STREAM))
{