diff options
author | jsing <> | 2019-04-01 15:58:02 +0000 |
---|---|---|
committer | jsing <> | 2019-04-01 15:58:02 +0000 |
commit | 124072cef0c06581ae5bb8581be095c92b65e802 (patch) | |
tree | 968d23aa68db9b19e12bd8f87dac1683253ac622 /src/lib/libssl/ssl_algs.c | |
parent | 9552538f07c2d19c99c3229f037712f6dfa1c550 (diff) | |
download | openbsd-124072cef0c06581ae5bb8581be095c92b65e802.tar.gz openbsd-124072cef0c06581ae5bb8581be095c92b65e802.tar.bz2 openbsd-124072cef0c06581ae5bb8581be095c92b65e802.zip |
Add a mutex to guard reference counting for tls_config.
This makes libtls more friendly for multithreaded use - otherwise we can
end up with incorrect refcounts and end up freeing when we should not be
(or not freeing when we should be).
ok beck@
Diffstat (limited to 'src/lib/libssl/ssl_algs.c')
0 files changed, 0 insertions, 0 deletions