openssl_data can be NULL. The current code does not handle this correctly which results in dereferencing a NULL pointer via openssl_data->ssl. Also some format string fixes. Issue found and fixed by jsing@
openssl_data can be NULL. The current code does not handle this correctly which results in dereferencing a NULL pointer via openssl_data->ssl. Also some format string fixes. Issue found and fixed by jsing@