]> jfr.im git - solanum.git/commit - librb/src/openssl.c
[openssl] More improvements to the backend
authorAaron Jones <redacted>
Fri, 29 Apr 2016 16:26:52 +0000 (16:26 +0000)
committerAaron Jones <redacted>
Fri, 29 Apr 2016 16:26:52 +0000 (16:26 +0000)
commitcf12678be5bbfd6dbd1bb2e7bfed5654f64a7341
tree46ae119be185173d931912953bbac375141d24f1
parentf9014791da95adb2f6fa64e571cf41b6e1454c3d
[openssl] More improvements to the backend

* Don't manually initialise libssl 1.1.0 -- it does this automatically
* SSL_library_init() should be called first otherwise
* Move SSL_CTX construction to rb_setup_ssl_server()
* Test for all required files (certificate & key) before doing anything
* Free the old CTX before constructing a new one (Fixes #186)
* Don't try to set options / ciphers etc on a NULL CTX
* Clean up ifdef indentation
* Fix DH parameters memory leak
librb/src/openssl.c