checksum: Avoid compiler warning/error when building monolithic

References strongswan/strongswan#2446
This commit is contained in:
Tobias Brunner
2024-09-18 11:49:35 +02:00
parent decccd4f63
commit 9d4c7bebfc
+3
View File
@@ -67,6 +67,8 @@ static void build_checksum(char *path, char *name, char *sname)
name, fsize, fsum, ssize, ssum);
}
#if defined(S_PLUGINS) || defined(P_PLUGINS) || \
defined(T_PLUGINS) || defined(C_PLUGINS)
/**
* Build checksums for a set of plugins
*/
@@ -88,6 +90,7 @@ static void build_plugin_checksums(char *plugins)
}
enumerator->destroy(enumerator);
}
#endif
/**
* Build checksums for a binary/library found at path