CVSROOT:        /cvs
Module name:    src
Changes by:     js...@cvs.openbsd.org   2020/09/17 09:23:29

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

Log message:
Simplify SSL method lookups.

There are three places where we call tls1_get_{client,server}_method() and
if that returns NULL, call dtls1_get_{client,server}_method(). Simplify
this by combining the lookup into a single function. While here also use
uint16_t for version types.

ok inoguchi@ millert@

Reply via email to