diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2016-02-07 20:44:27 +0100 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2016-03-09 19:10:28 +0100 |
commit | e4646a8963fa6bc6f475afe7a9b9a46b151cfd1a (patch) | |
tree | fa27565e3bd8bbe6435db6293f1879e88bf1f5ca /apps/s_cb.c | |
parent | ca74c38dc874e46ad913f2f6a7560125ad560aea (diff) | |
download | openssl-e4646a8963fa6bc6f475afe7a9b9a46b151cfd1a.tar.gz |
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.c | 4 |
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) { |