From 062d3e39e78dc8e2536822521c64ff38e44ddab4 Mon Sep 17 00:00:00 2001 From: Geoff Thorpe Date: Thu, 17 Jan 2002 01:51:37 +0000 Subject: [PATCH] Correct for the recent prototype changes. --- demos/tunala/cb.c | 2 +- demos/tunala/tunala.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.34.1