CVSROOT:        /cvs
Module name:    src
Changes by:     js...@cvs.openbsd.org   2020/10/10 20:22:27

Modified files:
        lib/libssl     : ssl_clnt.c ssl_lib.c ssl_locl.h ssl_methods.c 
                         ssl_sess.c ssl_srvr.c tls13_legacy.c 

Log message:
Condense and simplify TLS methods.

Historically, OpenSSL has had client and server specific methods - the only
difference between these is that the .ssl_connect or .ssl_accept function
pointer is set to ssl_undefined_function, with the intention of reducing
code size for a statically linked binary that was only a client or server.
These days the difference is minimal or non-existant in many cases and
we can reduce the amount of code and complexity by having single method.

Internally remove all of the client and server specific methods,
simplifying code in the process. The external client/server specific API
remain, however these now return the same thing as TLS_method() does.

ok tb@

Reply via email to