On 05.12.2017 17:00, Jari Turkia wrote:

Hi Jari,

> This is a known openvpn 2.4 bug, and upstream has it fixed
> (https://github.com/OpenVPN/openvpn/commit/3322c558fa742cb823fa919f682486973abc4f8e
> and https://community.openvpn.net/openvpn/ticket/904).
> This fix has not been backported to Jessie backports or Stretch.

Thanks for your report.

I had a quick glance at it. The patch applies cleanly, but does not compile

x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include
-I../../include -I../../src/compat -Wdate-time -D_FORTIFY_SOURCE=2
-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -std=c99 -c manage.c
manage.c: In function 'management_query_user_pass':
manage.c:3506:37: error: 'struct user_pass' has no member named
'wait_for_push'
             man->connection.up_query.wait_for_push = up->wait_for_push;
                                     ^
manage.c:3506:56: error: 'struct user_pass' has no member named
'wait_for_push'
             man->connection.up_query.wait_for_push = up->wait_for_push;
                                                        ^~
Makefile:658: recipe for target 'manage.o' failed

It is based on an earlier, larger commit

https://github.com/OpenVPN/openvpn/commit/e4b0600c990b06ef4c94856e12b24a37110e0860

which needs a minor context adjustment to apply cleanly.

Bernhard

Reply via email to