[PATCH] Message digest test suite and incomplete MD4 support

Simon Josefsson jas@extundo.com
Sun, 24 Nov 2002 20:24:46 +0100


Simon Josefsson <jas@extundo.com> writes:

> The self tests core dump on rs6000-ibm-aix4.3.2.0

Seems to be caused by autoconf guessing the wrong values.  If I use
the config.h from libgcrypt-1.1.10 (which works) with 1.1.11 (after
modifying version defines) the new version works too.  Diff below for
reference, but it is probably a local problem as I'm using the latest
auto* tools in Debian Sid.

> and mips-sgi-irix6.5 with non-GNU tools, I'll try to debug it.

Libgcrypt 1.1.10 also crashed, and my debugging environment on the
host is not enjoyable so I'm leaving this for someone else.

--- config.h    Sun Nov 24 20:20:35 2002
+++ ../libgcrypt-1.1.10/config.h        Sun Nov 24 20:02:04 2002
@@ -26,10 +26,6 @@
 /* Define to 1 if you have the `clock_gettime' function. */
 #define HAVE_CLOCK_GETTIME 1

-/* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
-   don't. */
-#define HAVE_DECL_SYS_SIGLIST 0
-
 /* defined if the system supports a random device */
 /* #undef HAVE_DEV_RANDOM */

@@ -56,7 +52,7 @@
 #define HAVE_FSTAT64 1

 /* Define to 1 if you have the `gethrtime' function. */
-#define HAVE_GETHRTIME 1
+/* #undef HAVE_GETHRTIME */

 /* Define to 1 if you have the `getpagesize' function. */
 #define HAVE_GETPAGESIZE 1
@@ -122,7 +118,7 @@
 #define HAVE_STDLIB_H 1

 /* Define to 1 if you have the `stpcpy' function. */
-#define HAVE_STPCPY 1
+/* #undef HAVE_STPCPY */

 /* Define to 1 if you have the `strcasecmp' function. */
 #define HAVE_STRCASECMP 1
@@ -134,7 +130,7 @@
 #define HAVE_STRFTIME 1

 /* Define to 1 if you have the `stricmp' function. */
-#define HAVE_STRICMP 1
+/* #undef HAVE_STRICMP */

 /* Define to 1 if you have the <strings.h> header file. */
 #define HAVE_STRINGS_H 1
@@ -143,10 +139,10 @@
 #define HAVE_STRING_H 1

 /* Define to 1 if you have the `strlwr' function. */
-#define HAVE_STRLWR 1
+/* #undef HAVE_STRLWR */

 /* Define to 1 if you have the `strsep' function. */
-#define HAVE_STRSEP 1
+/* #undef HAVE_STRSEP */

 /* Define to 1 if you have the `strtoul' function. */
 #define HAVE_STRTOUL 1
@@ -197,7 +193,7 @@
 #define HAVE_VPRINTF 1

 /* Define to 1 if you have the `wait4' function. */
-#define HAVE_WAIT4 1
+/* #undef HAVE_WAIT4 */

 /* Define to 1 if you have the `waitpid' function. */
 #define HAVE_WAITPID 1
@@ -236,13 +232,13 @@
 #define PACKAGE_NAME "libgcrypt"

 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "libgcrypt 1.1.11"
+#define PACKAGE_STRING "libgcrypt 1.1.10"

 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "libgcrypt"

 /* Define to the version of this package. */
-#define PACKAGE_VERSION "1.1.11"
+#define PACKAGE_VERSION "1.1.10"

 /* A human readable text with the name of the OS */
 #define PRINTABLE_OS_NAME "AIX"
@@ -265,6 +261,9 @@
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1

+/* Define to 1 if `sys_siglist' is declared by <signal.h> or <unistd.h>. */
+/* #undef SYS_SIGLIST_DECLARED */
+
 /* define if capabilities should be used */
 /* #undef USE_CAPABILITIES */

@@ -279,7 +278,7 @@
 /* #undef USE_STATIC_RNDW32 */

 /* Version of this package */
-#define VERSION "1.1.11"
+#define VERSION "1.1.10"

 /* define if compiled symbols have a leading underscore */
 /* #undef WITH_SYMBOL_UNDERSCORE */