diff options
Diffstat (limited to 'src/murmur/Cert.cpp')
-rw-r--r-- | src/murmur/Cert.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/murmur/Cert.cpp b/src/murmur/Cert.cpp index 812e77c0a..3a1fe10b1 100644 --- a/src/murmur/Cert.cpp +++ b/src/murmur/Cert.cpp @@ -3,10 +3,24 @@ // that can be found in the LICENSE file at the root of the // Mumble source tree or at <https://www.mumble.info/LICENSE>. +#include <QtCore/QtGlobal> + +#ifdef Q_OS_WIN +# include "win.h" +#endif + #include "Meta.h" #include "Server.h" #include "SelfSignedCertificate.h" +#include <openssl/err.h> +#include <openssl/evp.h> +#include <openssl/x509.h> + +#ifdef Q_OS_WIN +# include <winsock2.h> +#endif + bool Server::isKeyForCert(const QSslKey &key, const QSslCertificate &cert) { if (key.isNull() || cert.isNull() || (key.type() != QSsl::PrivateKey)) return false; |