diff options
author | Tobias Markmann <tm@ayena.de> | 2018-01-05 15:45:34 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2018-01-30 11:46:28 (GMT) |
commit | 9eaa75b907a515a65ccb2002632fbf2f30c5aee8 (patch) | |
tree | 94102960e7814eebb5f8646dacf34ad06f8c1f8d /Swiften/Jingle | |
parent | 1f70a58280db165c0df80c81b41986f1d67c0a95 (diff) | |
download | swift-9eaa75b907a515a65ccb2002632fbf2f30c5aee8.zip swift-9eaa75b907a515a65ccb2002632fbf2f30c5aee8.tar.bz2 |
Modernize OpenSSL crypto backend
* use std::unique_ptr for memory management of dynamic OpenSSL
objects
* use an initializer class and static instance of it to correctly
initialize/finalize OpenSSL on first use
* use enum class instead of simple enum for state
* use nullptr instead of NULL
Test-Information:
Builds and tests pass on macOS 10.13.2 with clang-trunk and
ASAN.
Change-Id: I346f14e21c34871c1900a8e1ac000450770a0bbe
Diffstat (limited to 'Swiften/Jingle')
0 files changed, 0 insertions, 0 deletions