Parcourir la source

OpenSSL: Include openssl/engine.h and openssl/dsa.h explicitly

This seems to be needed for OpenSSL 1.1.0.

Signed-off-by: Jouni Malinen <j@w1.fi>
Jouni Malinen il y a 10 ans
Parent
commit
690e543e8a
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      src/crypto/tls_openssl.c

+ 6 - 0
src/crypto/tls_openssl.c

@@ -23,6 +23,12 @@
 #ifndef OPENSSL_NO_ENGINE
 #include <openssl/engine.h>
 #endif /* OPENSSL_NO_ENGINE */
+#ifndef OPENSSL_NO_DSA
+#include <openssl/dsa.h>
+#endif
+#ifndef OPENSSL_NO_DH
+#include <openssl/dh.h>
+#endif
 
 #include "common.h"
 #include "crypto.h"