botan: Use strongSwan's RNG interface in Botan plugin

This allows using rng_t implementations provided by other plugins to
serve as RNG for Botan.

Closes strongswan/strongswan#192.
This commit is contained in:
René Fischer
2021-02-15 09:27:51 +01:00
committed by Tobias Brunner
parent 5ffc1ec423
commit 4261fcedec
12 changed files with 92 additions and 11 deletions
+4
View File
@@ -1177,6 +1177,10 @@ if test x$botan = xtrue; then
[PKG_CHECK_MODULES(botan, [botan-2])])
AC_SUBST(botan_CFLAGS)
AC_SUBST(botan_LIBS)
saved_LIBS=$LIBS
LIBS="$botan_LIBS"
AC_CHECK_FUNCS(botan_rng_init_custom)
LIBS=$saved_LIBS
fi
if test x$uci = xtrue; then