diff options
author | jsing <> | 2020-09-14 18:25:23 +0000 |
---|---|---|
committer | jsing <> | 2020-09-14 18:25:23 +0000 |
commit | b72413066987ff52cb0d9052cada638fe6ac8cc5 (patch) | |
tree | 943328bd9295301a7dc1fcb2f5eeef22f5853b6b /src/lib/libssl/s3_lib.c | |
parent | a71bd2f78782e607e73c59e36b2cbb2249d3dfe2 (diff) | |
download | openbsd-b72413066987ff52cb0d9052cada638fe6ac8cc5.tar.gz openbsd-b72413066987ff52cb0d9052cada638fe6ac8cc5.tar.bz2 openbsd-b72413066987ff52cb0d9052cada638fe6ac8cc5.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