Cleanup - use e_os2.h rather than stdint.h
authorRichard Levitte <levitte@openssl.org>
Thu, 11 May 2017 18:20:07 +0000 (20:20 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 11 May 2017 19:52:37 +0000 (21:52 +0200)
Not exactly everywhere, but in those source files where stdint.h is
included conditionally, or where it will be eventually

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3447)

crypto/ec/ecp_nistp521.c
crypto/sha/keccak1600.c
include/openssl/bio.h

index 33c4cd5df53df6c4bd9395071b3764dada435750..929be857a2dbadb64b3e4553c19313a51c5c154c 100644 (file)
  * work which got its smarts from Daniel J. Bernstein's work on the same.
  */
 
-#include <openssl/opensslconf.h>
+#include <openssl/e_os2.h>
 #ifdef OPENSSL_NO_EC_NISTP_64_GCC_128
 NON_EMPTY_TRANSLATION_UNIT
 #else
 
-# ifndef OPENSSL_SYS_VMS
-#  include <stdint.h>
-# else
-#  include <inttypes.h>
-# endif
-
 # include <string.h>
 # include <openssl/err.h>
 # include "ec_lcl.h"
index 1056f89281898837f0f274db5ba3f5d8292c907b..9deba8f12a9db13cfacc02ca0baa0051d84698b9 100644 (file)
@@ -7,7 +7,7 @@
  * https://www.openssl.org/source/license.html
  */
 
-#include <stdint.h>
+#include <openssl/e_os2.h>
 #include <string.h>
 #include <assert.h>
 
index de71475a496071325a788bccdf5eb9964601f919..003a9b14a6a12d1bdcb08adc86b74d54483ab125 100644 (file)
 # include <openssl/crypto.h>
 
 # ifndef OPENSSL_NO_SCTP
-#  ifndef OPENSSL_SYS_VMS
-#   include <stdint.h>
-#  else
-#   include <inttypes.h>
-#  endif
+#  include <openssl/e_os2.h>
 # endif
 
 #ifdef  __cplusplus