eidheim / Simple-Web-Server

A very simple, fast, multithreaded, platform independent HTTP and HTTPS server and client library implemented using C++11 and Boost.Asio. Created to be an easy way to make REST resources available from C++ applications.
MIT License
2.61k stars 751 forks source link

BIO_new_mem_buf need a mutable pointer. #138

Closed devnexen closed 7 years ago

eidheim commented 7 years ago

BIO_new_mem_buf is a read only memory BIO, so const char * type argument works fine I think.

devnexen commented 7 years ago

Ok but the compilation failed for me because of BIO_new_mem_buf signature

eidheim commented 7 years ago

Which compiler are you using?

eidheim commented 7 years ago

And which openssl version?

devnexen commented 7 years ago

gcc 4.9.4 and .... oops just realised it was libressl

devnexen commented 7 years ago

I have both openssl and libressl but it s linked to libressl actually