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:09:26 +0000 (23:09 +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
(cherry picked from commit 96180cac04591abfe50fc86096365553484bde65)

engines/ccgost/gost89.h

index 2157852519fd87bce7416d3ca146d9a281f29c09..8da2407b03320a6f6117f418c89fe78282f8ce99 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