mirror of https://github.com/openssl/openssl
Error in s_server when -rev option is used with dtls.
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23278)
This commit is contained in:
parent
08cecb4448
commit
575117efe1
|
@ -1714,6 +1714,11 @@ int s_server_main(int argc, char *argv[])
|
|||
BIO_printf(bio_err, "Can only use -listen with DTLS\n");
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (rev && socket_type == SOCK_DGRAM) {
|
||||
BIO_printf(bio_err, "Can't use -rev with DTLS\n");
|
||||
goto end;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (tfo && socket_type != SOCK_STREAM) {
|
||||
|
|
Loading…
Reference in New Issue