Only call SSL_CTX_free if DO_SSL is defined.