diff options
author | jsing <> | 2020-09-14 18:25:23 +0000 |
---|---|---|
committer | jsing <> | 2020-09-14 18:25:23 +0000 |
commit | 565b8c302e9c618e9f4fefc8953951fe5533f7fa (patch) | |
tree | 943328bd9295301a7dc1fcb2f5eeef22f5853b6b /src/lib/libssl/ssl_locl.h | |
parent | 5e7d41625cac7c0e2822615ddfb6f5422b284437 (diff) | |
download | openbsd-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/ssl_locl.h')
0 files changed, 0 insertions, 0 deletions