summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s3_lib.c
diff options
context:
space:
mode:
authorjsing <>2020-09-14 18:25:23 +0000
committerjsing <>2020-09-14 18:25:23 +0000
commit565b8c302e9c618e9f4fefc8953951fe5533f7fa (patch)
tree943328bd9295301a7dc1fcb2f5eeef22f5853b6b /src/lib/libssl/s3_lib.c
parent5e7d41625cac7c0e2822615ddfb6f5422b284437 (diff)
downloadopenbsd-565b8c302e9c618e9f4fefc8953951fe5533f7fa.tar.gz
openbsd-565b8c302e9c618e9f4fefc8953951fe5533f7fa.tar.bz2
openbsd-565b8c302e9c618e9f4fefc8953951fe5533f7fa.zip
Cleanup and simplify SSL_set_session().
SSL_set_ssl_method() checks to see if the method is already the same, so we do not need to do this check in three different places. Switch to dtls1_get_client_method()/tls1_get_client_method() to find the method - this is a slight change in behaviour, however there is not much point trying to resume a session on something other than a client. ok beck@
Diffstat (limited to 'src/lib/libssl/s3_lib.c')
0 files changed, 0 insertions, 0 deletions