openbsd-ports/security/aide/patches/patch-src_util_c
2003-12-04 15:29:31 +00:00

29 lines
824 B
Plaintext

$OpenBSD: patch-src_util_c,v 1.1 2003/12/04 15:29:31 lebel Exp $
--- src/util.c.orig Wed May 29 04:04:27 2002
+++ src/util.c Mon Apr 14 10:30:09 2003
@@ -356,7 +356,6 @@ void sig_handler(int signal)
return;
}
-
/* Like strstr but only do search for maximum of n chars.
haystack does not have to be NULL terminated
needle has to be NULL terminated. NULL in needle is not used in compare.
@@ -396,7 +395,7 @@ char* strnstr(char* haystack,char* needl
/* We need these dummy stubs to fool the linker into believing that
we do not need them at link time */
-void* dlopen(char*filename,int flag)
+/*void* dlopen(char*filename,int flag)
{
return NULL;
}
@@ -415,6 +414,7 @@ const char* dlerror(void)
{
return NULL;
}
+*/
const char* aide_key_2=CONFHMACKEY_02;
const char* db_key_2=DBHMACKEY_02;