aide/aide-dynamic.patch
Marcus Meissner f3be154ab9 Accepting request 319601 from home:msmeissn:branches:security
- aide-dynamic.patch: avoid overwriting dl* functions, as we might
  load libcrypto.so dynamically in FIPS mode.

OBS-URL: https://build.opensuse.org/request/show/319601
OBS-URL: https://build.opensuse.org/package/show/security/aide?expand=0&rev=28
2015-07-30 14:46:10 +00:00

21 lines
542 B
Diff

Index: aide-0.15.1/src/util.c
===================================================================
--- aide-0.15.1.orig/src/util.c
+++ aide-0.15.1/src/util.c
@@ -497,6 +497,7 @@ int syslog_facility_lookup(char *s)
/* We need these dummy stubs to fool the linker into believing that
we do not need them at link time */
+#if 0
void* dlopen(char*filename,int flag)
{
return NULL;
@@ -516,6 +517,7 @@ const char* dlerror(void)
{
return NULL;
}
+#endif
const char* aide_key_2=CONFHMACKEY_02;
const char* db_key_2=DBHMACKEY_02;