X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fsrc%2Fauths%2Ftls.c;h=319c4f98a8761985b18779a8984ee161d0cf8419;hb=96c8151125ceb98ed52c0089f6401e6ba05bb41e;hp=2d0d8de5e45f5275f3c3eb625d9920f04dd23be0;hpb=f9ba5e2255cf18092750fffacb6a9603571a2be5;p=exim.git diff --git a/src/src/auths/tls.c b/src/src/auths/tls.c index 2d0d8de5e..319c4f98a 100644 --- a/src/src/auths/tls.c +++ b/src/src/auths/tls.c @@ -17,13 +17,13 @@ a server to verify a client SSL certificate optionlist auth_tls_options[] = { { "server_param", opt_stringptr, - (void *)(offsetof(auth_tls_options_block, server_param1)) }, + OPT_OFF(auth_tls_options_block, server_param1) }, { "server_param1", opt_stringptr, - (void *)(offsetof(auth_tls_options_block, server_param1)) }, + OPT_OFF(auth_tls_options_block, server_param1) }, { "server_param2", opt_stringptr, - (void *)(offsetof(auth_tls_options_block, server_param2)) }, + OPT_OFF(auth_tls_options_block, server_param2) }, { "server_param3", opt_stringptr, - (void *)(offsetof(auth_tls_options_block, server_param3)) }, + OPT_OFF(auth_tls_options_block, server_param3) }, }; /* Size of the options list. An extern variable has to be used so that its @@ -45,8 +45,8 @@ auth_tls_options_block auth_tls_option_defaults = { /* Dummy values */ void auth_tls_init(auth_instance *ablock) {} int auth_tls_server(auth_instance *ablock, uschar *data) {return 0;} -int auth_tls_client(auth_instance *ablock, smtp_inblock *inblock, - smtp_outblock *outblock, int timeout, uschar *buffer, int buffsize) {return 0;} +int auth_tls_client(auth_instance *ablock, void * sx, + int timeout, uschar *buffer, int buffsize) {return 0;} #else /*!MACRO_PREDEF*/