]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
botan: Fix include issue that prevented parsing public keys
authorTobias Brunner <tobias@strongswan.org>
Wed, 23 Oct 2024 14:45:32 +0000 (16:45 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 22 Nov 2024 13:03:17 +0000 (14:03 +0100)
Botan stopped including build.h in ffi.h with 3.4.0, so we have to
add this here explicitly to check for the enabled key types.

src/libstrongswan/plugins/botan/botan_util_keys.c

index b6f26393a2dfa289209046847d9fa9639e81c474..127d988cb21c6f9aea6616dd92c9c338a140082f 100644 (file)
@@ -29,6 +29,8 @@
 #include "botan_rsa_public_key.h"
 #include "botan_rsa_private_key.h"
 
+#include <botan/build.h>
+
 #include <asn1/asn1.h>
 #include <asn1/oid.h>