SslServer: Add support for Elliptic Curve keys
authorMichael Marley <michael@michaelmarley.com>
Mon, 26 Mar 2018 02:11:39 +0000 (22:11 -0400)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 5 Apr 2018 22:23:46 +0000 (00:23 +0200)
commitd31101ed316b6449de0d8dad7a1e1e8d097807a5
tree2c2e2f41d6b4e561e80004d02a383b261b3d0a99
parentc2e3479b87e7d0713d302d26fb2d7d01d7b8c9c2
SslServer: Add support for Elliptic Curve keys

If the key won't load as an RSA key, attempt to load it again as an
EC key.  DSA support was not added because DSA is obsolete and no-
one should be using it.

Note that this only works with Qt5.5 and up as EC support was added
in that version (https://github.com/qt/qtbase/commit/962ea569). An
if macro has been used to allow for continued compilation under Qt4
and Qt5<5.5.

Closes GH-344.
src/core/sslserver.cpp
src/core/sslserver.h