From e4646a8963fa6bc6f475afe7a9b9a46b151cfd1a Mon Sep 17 00:00:00 2001 From: Kurt Roeckx Date: Sun, 7 Feb 2016 20:44:27 +0100 Subject: Constify security callbacks Reviewed-by: Viktor Dukhovni MR: #1595 --- apps/s_cb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/s_cb.c') diff --git a/apps/s_cb.c b/apps/s_cb.c index 3e9d0f63a9..047f2cec8b 100644 --- a/apps/s_cb.c +++ b/apps/s_cb.c @@ -1285,7 +1285,7 @@ int ssl_load_stores(SSL_CTX *ctx, typedef struct { BIO *out; int verbose; - int (*old_cb) (SSL *s, SSL_CTX *ctx, int op, int bits, int nid, + int (*old_cb) (const SSL *s, const SSL_CTX *ctx, int op, int bits, int nid, void *other, void *ex); } security_debug_ex; @@ -1314,7 +1314,7 @@ static STRINT_PAIR callback_types[] = { {NULL} }; -static int security_callback_debug(SSL *s, SSL_CTX *ctx, +static int security_callback_debug(const SSL *s, const SSL_CTX *ctx, int op, int bits, int nid, void *other, void *ex) { -- cgit v1.2.3