* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) Jeremy Harris 2019 */
+/* Copyright (c) Jeremy Harris 2019-2020 */
/* See the file NOTICE for conditions of use and distribution. */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/* This file provides an Exim authenticator driver for
a server to verify a client SSL certificate, using the EXTERNAL
/* Options specific to the external authentication mechanism. */
optionlist auth_external_options[] = {
- { "client_send", opt_stringptr,
- (void *)(offsetof(auth_external_options_block, client_send)) },
- { "server_param2", opt_stringptr,
- (void *)(offsetof(auth_external_options_block, server_param2)) },
- { "server_param3", opt_stringptr,
- (void *)(offsetof(auth_external_options_block, server_param3)) },
+ { "client_send", opt_stringptr, OPT_OFF(auth_external_options_block, client_send) },
+ { "server_param2", opt_stringptr, OPT_OFF(auth_external_options_block, server_param2) },
+ { "server_param3", opt_stringptr, OPT_OFF(auth_external_options_block, server_param3) },
};
/* Size of the options list. An extern variable has to be used so that its