Commit 2ed929d9f6 for strongswan.org

commit 2ed929d9f69998bf5fc52f58d0752eeafa2d2c18
Author: Tobias Brunner <tobias@strongswan.org>
Date:   Fri Feb 6 08:12:52 2026 +0100

    fuzz-ike: Initialize libcharon as logging will cause crashes otherwise

    The bus.h header file redirects DBG* macros to the bus but that won't be
    available unless libcharon is initialized.

diff --git a/fuzz/fuzz_ike.c b/fuzz/fuzz_ike.c
index 77010c1dde..deb6074978 100644
--- a/fuzz/fuzz_ike.c
+++ b/fuzz/fuzz_ike.c
@@ -14,6 +14,7 @@
  * for more details.
  */

+#include <daemon.h>
 #include <library.h>
 #include <encoding/message.h>

@@ -21,6 +22,7 @@ int LLVMFuzzerInitialize(int *argc, char ***argv)
 {
 	dbg_default_set_level(-1);
 	library_init(NULL, "fuzz_ike");
+	libcharon_init();
 	return 0;
 }