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
commit8b329cf90019dcaa45de44d9c3b2eed853ec9429 (patch)
treeab0f21a1d37a85215ffbd688a792523e6b1b6726 /src/lib/libssl/s3_lib.c
parentc48a963f213a6f89d842f72d054aaa8907dee25f (diff)
downloadopenbsd-8b329cf90019dcaa45de44d9c3b2eed853ec9429.tar.gz
openbsd-8b329cf90019dcaa45de44d9c3b2eed853ec9429.tar.bz2
openbsd-8b329cf90019dcaa45de44d9c3b2eed853ec9429.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