Therefore we should avoid generating and offering STRAP keys unless.
1. We are doing authentication and may potentially use external-browser-auth,
which *requires* the STRAP keys, or
2. We already have STRAP keys from the authentication stage, in which case
we have to continue sending them for verification along with the
webvpn cookie, in order to prevent the server from rejecting it.
(See https://gitlab.com/openconnect/openconnect/-/issues/410)
Signed-off-by: Daniel Lenski <email address hidden>
AC_PROG_CC_C99 / AC_TRY_COMPILE are obsolete starting with autoconf 2.70
Closes #413
See merge request openconnect/openconnect!369
732edd8...
by
Ambroise Rosset <email address hidden>
Implement a function openconnect_set_useragent
Implement a function openconnect_set_useragent to allow external
programme that use libopenconnect to start a VPN (like NetworkManager)
to tune the Useragent of the connection like the option --useragent do.
If they only tune the useragent agent name by the variable passed
through the opeconnect_vpninfo_new function, the version number of
openconnect is automatically added after the string choosed.
Since Autoconf 2.50, internal codes uses
AC_PREPROC_IFELSE, AC_COMPILE_IFELSE, AC_LINK_IFELSE, and AC_RUN_IFELSE
on one hand and
AC_LANG_SOURCE, and AC_LANG_PROGRAM
on the other hand instead of the deprecated
AC_TRY_CPP, AC_TRY_COMPILE, AC_TRY_LINK, and AC_TRY_RUN.
Fixes this Autoconf warning:
warning: The macro `AC_TRY_COMPILE' is obsolete.
ca306b2...
by
Dimitri Papadopoulos <email address hidden>
Update m4 files
m4/lib-ld.m4
m4/lib-link.m4
m4/lib-prefix.m4
the latest versions from gnulib
acinclude.m4 → m4/ax_jni_include_dir.m4
the latest release 2022.02.11 from the Autoconf Archive
acinclude.m4 → as-compiler-flag.m4
copied as is because the origin of this file is unclear
it is different from the latest version in the Autostar Sandbox