summaryrefslogtreecommitdiffstats
path: root/apps/s_cb.c
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2016-02-07 20:44:27 +0100
committerKurt Roeckx <kurt@roeckx.be>2016-03-09 19:10:28 +0100
commite4646a8963fa6bc6f475afe7a9b9a46b151cfd1a (patch)
treefa27565e3bd8bbe6435db6293f1879e88bf1f5ca /apps/s_cb.c
parentDocumentation for ctx_set_ctlog_list_file() (diff)
downloadopenssl-e4646a8963fa6bc6f475afe7a9b9a46b151cfd1a.tar.xz
openssl-e4646a8963fa6bc6f475afe7a9b9a46b151cfd1a.zip
Constify security callbacks
Reviewed-by: Viktor Dukhovni <viktor@openssl.org> MR: #1595
Diffstat (limited to 'apps/s_cb.c')
-rw-r--r--apps/s_cb.c4
1 files changed, 2 insertions, 2 deletions
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)
{