af-alg: Silently skip probing algorithms if AF_ALG is not supported
authorMartin Willi <martin@strongswan.org>
Thu, 19 May 2016 09:13:24 +0000 (11:13 +0200)
committerMartin Willi <martin@strongswan.org>
Thu, 19 May 2016 09:13:24 +0000 (11:13 +0200)
commit294ac097d65f34251754ead4ed720b7b3a9ad4c3
treed7ca40628e56d792ff2333ac1b7ee756a22f88f8
parent989db1bf2f8d3a81e1bcaee6ba7a455cc6fce74b
af-alg: Silently skip probing algorithms if AF_ALG is not supported

If the af-alg plugin is enabled, but kernel support is missing, we get
an error line during startup for each probed algorithm. This is way too
verbose, so just skip probing if AF_ALG is unsupported.
src/libstrongswan/plugins/af_alg/af_alg_plugin.c