Segmentation Fault in SSL_CTX_new
Are you initializing the bio_err
variable to NULL? If you don't call SSL_library_init
before SSL_CTX_new
, you will segfault.
Short of a good solution. I've resorted to switching to libcurl for my SSL needs. This seems to streamline the code I actually have to write.