diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_server.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/s_server.c b/apps/s_server.c index 045c2bdd75..fe33b41f65 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -1095,6 +1095,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 SSL_load_error_strings(); OpenSSL_add_ssl_algorithms(); |