Add cmdline options for SSL certificate/key paths. 125/head
authorDaniel Schaal <farbing@web.de>
Fri, 1 May 2015 14:34:22 +0000 (16:34 +0200)
committerDaniel Schaal <farbing@web.de>
Sat, 2 May 2015 14:11:07 +0000 (16:11 +0200)
commitf94d946d6043005f419ac47944cdffdf37d95bdc
tree433f765a3c4676e9fec2e152eb21285fce32eaa2
parent8e2f578b3d83d2dd7b6f2ea64d350693073ffed1
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