git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6fdf76d
)
Compiler quietening. Bug 2983
author
Andrew Aitchison
<exim@aitchison.me.uk>
Mon, 13 Mar 2023 15:59:23 +0000
(15:59 +0000)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Mon, 13 Mar 2023 15:59:23 +0000
(15:59 +0000)
src/src/tls-openssl.c
patch
|
blob
|
history
diff --git
a/src/src/tls-openssl.c
b/src/src/tls-openssl.c
index 10b5f2aa58ee9cc2f8b2a6e76226e0476629541a..9d0ab2fdf1d5e545ac63e897131b26c5c6d0bdaf 100644
(file)
--- a/
src/src/tls-openssl.c
+++ b/
src/src/tls-openssl.c
@@
-1001,7
+1001,7
@@
Returns: nothing
*/
static void
*/
static void
-info_callback(SSL * s, int where, int ret)
+info_callback(
const
SSL * s, int where, int ret)
{
DEBUG(D_tls)
{
{
DEBUG(D_tls)
{
@@
-1750,13
+1750,13
@@
level. */
DEBUG(D_tls)
{
DEBUG(D_tls)
{
- SSL_CTX_set_info_callback(ctx,
(void (*)())
info_callback);
+ SSL_CTX_set_info_callback(ctx, info_callback);
#if defined(EXIM_HAVE_OPESSL_TRACE) && !defined(OPENSSL_NO_SSL_TRACE)
/* this needs a debug build of OpenSSL */
#if defined(EXIM_HAVE_OPESSL_TRACE) && !defined(OPENSSL_NO_SSL_TRACE)
/* this needs a debug build of OpenSSL */
- SSL_CTX_set_msg_callback(ctx,
(void (*)())
SSL_trace);
+ SSL_CTX_set_msg_callback(ctx, SSL_trace);
#endif
#ifdef OPENSSL_HAVE_KEYLOG_CB
#endif
#ifdef OPENSSL_HAVE_KEYLOG_CB
- SSL_CTX_set_keylog_callback(ctx,
(void (*)())
keylog_callback);
+ SSL_CTX_set_keylog_callback(ctx, keylog_callback);
#endif
}
#endif
}