Hi,

On Tue, Jul 26, 2022 at 07:51:00AM -0400, selva.n...@gmail.com wrote:
> From: Selva Nair <selva.n...@gmail.com>
> 
> Signed-off-by: Selva Nair <selva.n...@gmail.com>
> ---
>  src/openvpn/xkey_helper.c | 4 ++++
>  1 file changed, 4 insertions(+)

Close ;-)

This fixes compilation of xkey_helper.c for --disable-management, but
"make check" still fails in test_provider.c

In file included from test_provider.c:38:
test_provider.c: In function 'init_test':
test_provider.c:130:36: error: invalid application of 'sizeof' to incomplete 
type 'struct management'
  130 |     management = test_calloc(sizeof(*management), 1);
      |                                    ^
test_provider.c: In function 'xkey_provider_test_mgmt_sign_cb':
test_provider.c:290:19: error: invalid use of undefined type 'struct management'
  290 |         management->settings.flags = 
MF_EXTERNAL_KEY|MF_EXTERNAL_KEY_PSSPAD;
      |                   ^~
test_provider.c:290:38: error: 'MF_EXTERNAL_KEY' undeclared (first use in this 
function)
  290 |         management->settings.flags = 
MF_EXTERNAL_KEY|MF_EXTERNAL_KEY_PSSPAD;
      |                                      ^~~~~~~~~~~~~~~
(and a few more)

... can I have a v2, please?

thanks ;-)

gert

-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             g...@greenie.muc.de

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to