diff --git a/src/microhttpd/connection_https_openssl.c b/src/microhttpd/connection_https_openssl.c index de3779b6..2e76b75e 100644 --- a/src/microhttpd/connection_https_openssl.c +++ b/src/microhttpd/connection_https_openssl.c @@ -84,7 +84,7 @@ create_secure_connection (SSL_CTX *ctx, const char *hostnname, const char *port, struct MHD_Connection *connection) { BIO *bio = BIO_new_ssl_connect (ctx); - SSL ssl; + SSL *ssl; int ret; unsigned long err; BIO_get_ssl (bio, &ssl); diff --git a/src/microhttpd/connection_https_openssl.h b/src/microhttpd/connection_https_openssl.h index 4e733f4d..0fad0406 100644 --- a/src/microhttpd/connection_https_openssl.h +++ b/src/microhttpd/connection_https_openssl.h @@ -24,4 +24,5 @@ */ #ifndef CONNECTION_HTTPS_EXT_OPENSSL_H -#define CONNECTION_HTTPS_EXT_OPENSSL_H \ No newline at end of file +#define CONNECTION_HTTPS_EXT_OPENSSL_H +#endif \ No newline at end of file