CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2021/12/06 04:06:58

Modified files:
        usr.bin/openssl: s_apps.h s_server.c s_socket.c 

Log message:
Clean up a bunch of dead code in s_server.c and s_socket.c

jsg's analysis tool flagged a potential double free in do_server().
While this looks like a false positive, we can clean this code up
a little: the host name passed to the callbacks isn't used by either
sv_body() and www_body(), so it can be made local to do_accept()
(an extra variable would not even be needed).  Simplify the callbacks'
signatures accordingly. Remove some commented out linger code that
would never be used again anyway.

ok inoguchi jsg

Reply via email to