summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s3_lib.c
diff options
context:
space:
mode:
authorjsing <>2020-09-17 15:23:29 +0000
committerjsing <>2020-09-17 15:23:29 +0000
commitac608c91af9de9141849165d1599e500cf7010cc (patch)
treeab0f21a1d37a85215ffbd688a792523e6b1b6726 /src/lib/libssl/s3_lib.c
parent27421011021040c269ef365f2083f1c5233c7307 (diff)
downloadopenbsd-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/s3_lib.c')
0 files changed, 0 insertions, 0 deletions