From: Geoff Thorpe Date: Thu, 17 Jan 2002 01:51:37 +0000 (+0000) Subject: Correct for the recent prototype changes. X-Git-Tag: OpenSSL_0_9_7-beta1~321 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=062d3e39e78dc8e2536822521c64ff38e44ddab4;p=openssl Correct for the recent prototype changes. --- diff --git a/demos/tunala/cb.c b/demos/tunala/cb.c index f35d8f75dc..cd32f74c70 100644 --- a/demos/tunala/cb.c +++ b/demos/tunala/cb.c @@ -17,7 +17,7 @@ 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) { const char *str1, *str2; int w; diff --git a/demos/tunala/tunala.h b/demos/tunala/tunala.h index 4271a4d4a8..b4c8ec78d8 100644 --- a/demos/tunala/tunala.h +++ b/demos/tunala/tunala.h @@ -143,7 +143,7 @@ void buffer_from_BIO(buffer_t *buf, BIO *bio); void buffer_to_BIO(buffer_t *buf, BIO *bio); /* Callbacks */ -void cb_ssl_info(SSL *s, int where, int ret); +void cb_ssl_info(const SSL *s, int where, int ret); void cb_ssl_info_set_output(FILE *fp); /* Called if output should be sent too */ int cb_ssl_verify(int ok, X509_STORE_CTX *ctx); void cb_ssl_verify_set_output(FILE *fp);