X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/251b9eb4698f569864c35127ddb7c309b92ccecb..a85c067ba6c6940512cf57ec213277a370d87e70:/src/src/auths/tls.c diff --git a/src/src/auths/tls.c b/src/src/auths/tls.c index 56f5f5e92..d3ca8f796 100644 --- a/src/src/auths/tls.c +++ b/src/src/auths/tls.c @@ -2,8 +2,9 @@ * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) Jeremy Harris 1995 - 2018 */ +/* Copyright (c) Jeremy Harris 1995 - 2020 */ /* See the file NOTICE for conditions of use and distribution. */ +/* SPDX-License-Identifier: GPL-2.0-only */ /* This file provides an Exim authenticator driver for a server to verify a client SSL certificate @@ -17,13 +18,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