diff options
author | jsing <> | 2020-09-17 15:23:29 +0000 |
---|---|---|
committer | jsing <> | 2020-09-17 15:23:29 +0000 |
commit | ac608c91af9de9141849165d1599e500cf7010cc (patch) | |
tree | ab0f21a1d37a85215ffbd688a792523e6b1b6726 /src/lib/libssl/ssl.h | |
parent | 27421011021040c269ef365f2083f1c5233c7307 (diff) | |
download | openbsd-ac608c91af9de9141849165d1599e500cf7010cc.tar.gz openbsd-ac608c91af9de9141849165d1599e500cf7010cc.tar.bz2 openbsd-ac608c91af9de9141849165d1599e500cf7010cc.zip |
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@
Diffstat (limited to 'src/lib/libssl/ssl.h')
0 files changed, 0 insertions, 0 deletions