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:54:13 +0000 (21:54 +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)
(cherry picked from commit 74a011ebb5e9028ef18982d737a434a8ff926a95)

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

index 7207494b8d772f504b721bc640562f4eb13ee1ab..4701d5d5c84e27c5b147afa05540e34463a31e74 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 6d45101cc73139df34e50697d365786bcfb34a10..781285157b9da5b08e2e79941f61e5205ecd5100 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