diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2020-10-11 02:22:28 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2020-10-11 02:22:28 +0000 |
commit | 80740e48e0fde15d8f280cb1074143283f963d5e (patch) | |
tree | 553f1916522d0c422c690ce850e1f92363883907 /lib/libssl/tls13_internal.h | |
parent | a382a260c0f4733397baba6c406e00c41046d96b (diff) |
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@
Diffstat (limited to 'lib/libssl/tls13_internal.h')
0 files changed, 0 insertions, 0 deletions