engines/ccgost/gost89.h: make word32 defintion unconditional.
authorAndy Polyakov <appro@openssl.org>
Fri, 8 Nov 2013 22:00:35 +0000 (23:00 +0100)
committerAndy Polyakov <appro@openssl.org>
Fri, 8 Nov 2013 22:00:35 +0000 (23:00 +0100)
Original definition depended on __LONG_MAX__ that is not guaranteed to
be present. As we don't support platforms with int narrower that 32 bits
it's appropriate to make defition inconditional.

PR: 3165

engines/ccgost/gost89.h

index 2157852..8da2407 100644 (file)
@@ -87,10 +87,6 @@ extern gost_subst_block Gost28147_CryptoProParamSetB;
 extern gost_subst_block Gost28147_CryptoProParamSetC;
 extern gost_subst_block Gost28147_CryptoProParamSetD;
 extern const byte CryptoProKeyMeshingKey[]; 
-#if __LONG_MAX__ > 2147483647L 
 typedef unsigned int word32; 
-#else 
-typedef unsigned long word32; 
-#endif 
 
 #endif