Commit ea81a225 authored by bick's avatar bick

adding include of openssl/err.h to fix errors when NO_SSL_DL is defined:

mongoose.c:4680:23: error: ‘ERR_get_error’ was not declared in this scope
mongoose.c:4681:52: error: ‘ERR_error_string’ was not declared in this scope
parent 526f3aa3
...@@ -308,6 +308,7 @@ static const char *http_500_error = "Internal Server Error"; ...@@ -308,6 +308,7 @@ static const char *http_500_error = "Internal Server Error";
#if defined(NO_SSL_DL) #if defined(NO_SSL_DL)
#include <openssl/ssl.h> #include <openssl/ssl.h>
#include <openssl/err.h>
#else #else
// SSL loaded dynamically from DLL. // SSL loaded dynamically from DLL.
// I put the prototypes here to be independent from OpenSSL source installation. // I put the prototypes here to be independent from OpenSSL source installation.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment