Add cmdline options for SSL certificate/key paths.
authorDaniel Schaal <farbing@web.de>
Fri, 1 May 2015 14:34:22 +0000 (16:34 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sat, 2 Jan 2016 16:14:25 +0000 (17:14 +0100)
commit602c7b89ac9f087cab83f759607c37737f8419f0
tree4c8c2ac6d8bcc7a032744ddbadfca8622c9cd9ac
parent05f8696dd30c39c366220aac7531c6e8335519e7
Add cmdline options for SSL certificate/key paths.

Add cmdline options to core to specify the SSL certificate
and SSL key path, --ssl-cert and --ssl-key respectively.
If not set, the usual path CONFIGDIR/quasselCert.pem
will be used for the cert and the key.

If only the path to the certificate is set, it is assumed
to also contain the key.
src/common/main.cpp
src/core/sslserver.cpp
src/core/sslserver.h