]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
remove duplicated typedef for u64
authorMax Bachmann <kontakt@maxbachmann.de>
Thu, 7 Dec 2023 02:48:58 +0000 (03:48 +0100)
committerTomas Mraz <tomas@openssl.org>
Tue, 12 Dec 2023 19:01:34 +0000 (20:01 +0100)
This typedef is already created in aes_local.h as `typedef uint64_t u64;`.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22969)

crypto/aes/aes_x86core.c

index 8e54e80a6c9e6379e8f1046c2049bb86b6645b54..3e5b24ed193d8511ce06ca43e4b097ec1f299505 100644 (file)
@@ -81,13 +81,10 @@ static void prefetch256(const void *table)
 #define GETU32(p) (*((u32*)(p)))
 
 #if (defined(_WIN32) || defined(_WIN64)) && !defined(__MINGW32__)
-typedef unsigned __int64 u64;
 #define U64(C)  C##UI64
 #elif defined(__arch64__)
-typedef unsigned long u64;
 #define U64(C)  C##UL
 #else
-typedef unsigned long long u64;
 #define U64(C)  C##ULL
 #endif