Correct for the recent prototype changes.
[openssl.git] / demos / tunala / cb.c
index ac7122da4f9803ecebd328bf0be95f2b6a7a21c4..cd32f74c70a2c723af58faf69ee0f34e7e75fdb6 100644 (file)
@@ -17,9 +17,9 @@ static int int_verify_depth = 10;
 
 /* 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)