summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2002-01-17 01:51:37 +0000
committerGeoff Thorpe <geoff@openssl.org>2002-01-17 01:51:37 +0000
commit062d3e39e78dc8e2536822521c64ff38e44ddab4 (patch)
tree7c0b830d8623c334071685ff5dacfe7a9c149416 /demos
parente29f478a7ae56f60ac1a65fe85d8fa226f2aa6e0 (diff)
downloadopenssl-new-062d3e39e78dc8e2536822521c64ff38e44ddab4.tar.gz
Correct for the recent prototype changes.
Diffstat (limited to 'demos')
-rw-r--r--demos/tunala/cb.c2
-rw-r--r--demos/tunala/tunala.h2
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);