projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a665e4
)
Error in s_server when -rev option is used with dtls.
author
Frederik Wedel-Heinen
<frederik.wedel-heinen@dencrypt.dk>
Fri, 12 Jan 2024 09:14:43 +0000
(10:14 +0100)
committer
Tomas Mraz
<tomas@openssl.org>
Mon, 15 Jan 2024 15:34:49 +0000
(16:34 +0100)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23278)
(cherry picked from commit
575117efe1e0eb8073c2d26ae3dff8926be00591
)
apps/s_server.c
patch
|
blob
|
history
diff --git
a/apps/s_server.c
b/apps/s_server.c
index 8daa58f9f63ef3fb88ff2ac5f3e959c6388a8e8e..3f372f14a7d856e83756bda261e9626b4d95bffe 100644
(file)
--- a/
apps/s_server.c
+++ b/
apps/s_server.c
@@
-1669,6
+1669,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 (stateless && socket_type != SOCK_STREAM) {