/* This function is largely borrowed from the one used in OpenSSL's "s_client"
* and "s_server" utilities. */
-void cb_ssl_info(SSL *s, int where, int ret)
+void cb_ssl_info(const SSL *s, int where, int ret)
{
- char *str1, *str2;
+ const char *str1, *str2;
int w;
if(!fp_cb_ssl_info)