Blame SOURCES/opencryptoki-openssl3-145a696d478a1694ef314659a3d374f03f75c1b1.patch

2c1758
commit 145a696d478a1694ef314659a3d374f03f75c1b1
2c1758
Author: Ingo Franzki <ifranzki@linux.ibm.com>
2c1758
Date:   Mon Jul 5 13:49:09 2021 +0200
2c1758
2c1758
    CONFIGURE: Remove AC_FUNC_MALLOC and AC_FUNC_REALLOC
2c1758
    
2c1758
    The AC_FUNC_MALLOC configure check might add the rpl_malloc() entry if it
2c1758
    does not like the default malloc implementation. The user would need to
2c1758
    provide the rpl_malloc implementation. This happens depending on compiler and
2c1758
    OS/distro being used. Same applies for AC_FUNC_REALLOC and rpl_realloc.
2c1758
    It happened for me when I configured it with address sanitizer (libubsan,
2c1758
    libasan) activated.
2c1758
    
2c1758
    Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
2c1758
2c1758
diff --git a/configure.ac b/configure.ac
2c1758
index d3374476..286b7408 100644
2c1758
--- a/configure.ac
2c1758
+++ b/configure.ac
2c1758
@@ -39,10 +39,8 @@ dnl Checks for library functions.
2c1758
 AC_FUNC_ALLOCA
2c1758
 AC_FUNC_CHOWN
2c1758
 AC_FUNC_FORK
2c1758
-AC_FUNC_MALLOC
2c1758
 AC_FUNC_MKTIME
2c1758
 AC_FUNC_MMAP
2c1758
-AC_FUNC_REALLOC
2c1758
 AC_FUNC_STRERROR_R
2c1758
 AC_CHECK_FUNCS([atexit ftruncate gettimeofday localtime_r memchr memmove \
2c1758
 		memset mkdir munmap regcomp select socket strchr strcspn \