openssl: fix building with openssl 1.1 and later
[hcoop/domtool2.git] / openssl / openssl_sml.h
index 3d5cd46..3f33922 100644 (file)
@@ -1,6 +1,9 @@
-#include "openssl/bio.h"
-#include "openssl/ssl.h"
-#include "openssl/err.h"
+#include <openssl/ossl_typ.h>
+
+/* SSL_METHOD is defined in <openssl/ssl.h>, which #includes system
+   headers that ml-nlffigen can't parse. */
+
+typedef struct ssl_method_st SSL_METHOD;
 
 void OpenSSL_SML_init(void);
 void OpenSSL_SML_load_error_strings(void);