From 23766ed83538ea4d81ccbd3d526fe4d73691a9e6 Mon Sep 17 00:00:00 2001 From: miod <> Date: Thu, 10 Jul 2014 09:01:04 +0000 Subject: Remove bogus preprocessor statements trying to pick the largest integer type for BF_LONG, MD[45]_LONG and SHA_LONG. First, the preprocessor symbols they check for a 64-bit system is __ILP64__ which no sane system provides; second, on the platforms which have assembler code to speed things up, the assembler code assumes a 32-bit type will be used. --- src/lib/libcrypto/md5/md5.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/lib/libcrypto/md5') diff --git a/src/lib/libcrypto/md5/md5.h b/src/lib/libcrypto/md5/md5.h index 66e52ce227..3f27da8d69 100644 --- a/src/lib/libcrypto/md5/md5.h +++ b/src/lib/libcrypto/md5/md5.h @@ -1,4 +1,4 @@ -/* $OpenBSD: md5.h,v 1.15 2014/06/14 10:28:31 avsm Exp $ */ +/* $OpenBSD: md5.h,v 1.16 2014/07/10 09:01:04 miod Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -78,14 +78,7 @@ extern "C" { * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */ -#if defined(__LP32__) -#define MD5_LONG unsigned long -#elif defined(__ILP64__) -#define MD5_LONG unsigned long -#define MD5_LONG_LOG2 3 -#else #define MD5_LONG unsigned int -#endif #define MD5_CBLOCK 64 #define MD5_LBLOCK (MD5_CBLOCK/4) -- cgit v1.2.3-55-g6feb