openbsd-ports/security/pgp5/patches/patch-lib_pgp_random_pgpRndPool_c

13 lines
532 B
Plaintext

$OpenBSD: patch-lib_pgp_random_pgpRndPool_c,v 1.1 2002/04/23 06:38:48 fgsch Exp $
--- lib/pgp/random/pgpRndPool.c.orig Sat Aug 9 18:45:13 1997
+++ lib/pgp/random/pgpRndPool.c Tue Apr 23 03:06:29 2002
@@ -296,7 +296,7 @@ struct PgpRandomContext const pgpRandomP
* #define UMULH_32(r,a,b) (r) = 0
*/
#ifndef UMULH_32
-#if defined(__GNUC__) && defined(__i386__)
+#if defined(__GNUC__) && defined(__i386__) && 0
/* Inline asm goodies */
#define UMULH_32(r,a,b) __asm__("mull %2" : "=d"(r) : "%a"(a), "mr"(b) : "ax")
#elif HAVE64