diff options
author | cheloha <> | 2018-08-18 16:51:33 +0000 |
---|---|---|
committer | cheloha <> | 2018-08-18 16:51:33 +0000 |
commit | 83f2b9b68121e0c76fbc778d117a4ad419f55325 (patch) | |
tree | c2c29ee8f90fe023fea074d37f905b3962fd9848 /src/lib | |
parent | d6a8b0acaadc0a7746d7127fd00ce6548200c135 (diff) | |
download | openbsd-83f2b9b68121e0c76fbc778d117a4ad419f55325.tar.gz openbsd-83f2b9b68121e0c76fbc778d117a4ad419f55325.tar.bz2 openbsd-83f2b9b68121e0c76fbc778d117a4ad419f55325.zip |
Plug SSL object leaks in doConnection().
Move SSL_new/SSL_free up into benchmark() to restrict the responsibility
for the SSL object to a single scope. Make doConnection() return an int,
openssl-style. Some miscellaneous cleanup, too.
Discussed with tb, jsing, and jca. Basic idea from jsing, lots of patch
input from tb.
ok deraadt on an earlier version
ok tb jsing
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions