summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2018-01-05 15:45:34 (GMT)
committerTobias Markmann <tm@ayena.de>2018-01-30 11:46:28 (GMT)
commit9eaa75b907a515a65ccb2002632fbf2f30c5aee8 (patch)
tree94102960e7814eebb5f8646dacf34ad06f8c1f8d /Swiften/Elements/Compressed.h
parent1f70a58280db165c0df80c81b41986f1d67c0a95 (diff)
downloadswift-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/Elements/Compressed.h')
0 files changed, 0 insertions, 0 deletions