]> git.ipfire.org Git - thirdparty/strongswan.git/commit
identification: Add support for POSIX regular expressions
authorTobias Brunner <tobias@strongswan.org>
Tue, 15 Apr 2025 13:09:20 +0000 (15:09 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 28 May 2025 07:58:17 +0000 (09:58 +0200)
commit7de05b918c37049349201f9801adc35467e757f3
tree5dbc9944e7e5a94b26bf8fad441e860da4b81073
parent2b1f0e8c6e6ab8ae858d05fe1365e1f1095aaf41
identification: Add support for POSIX regular expressions

When cross-compiling for Windows on Ubuntu, we don't have POSIX regular
expressions available (there does not seem to be any alternative libraries
either), but since the tests are not executed that's OK.  On AppVeyor,
MSYS2 has libgnurx installed, which works fine but requires explicit
linking with `-lregex`.

This is loosely based on a patch by Thomas Egerer.
configure.ac
src/libstrongswan/tests/suites/test_identification.c
src/libstrongswan/utils/identification.c
src/libstrongswan/utils/identification.h