Cleanup - use e_os2.h rather than stdint.h

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)
This commit is contained in:
Richard Levitte 2017-05-11 20:20:07 +02:00
parent 0b10da806a
commit 74a011ebb5
3 changed files with 3 additions and 13 deletions

View File

@ -31,17 +31,11 @@
* work which got its smarts from Daniel J. Bernstein's work on the same. * 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 #ifdef OPENSSL_NO_EC_NISTP_64_GCC_128
NON_EMPTY_TRANSLATION_UNIT NON_EMPTY_TRANSLATION_UNIT
#else #else
# ifndef OPENSSL_SYS_VMS
# include <stdint.h>
# else
# include <inttypes.h>
# endif
# include <string.h> # include <string.h>
# include <openssl/err.h> # include <openssl/err.h>
# include "ec_lcl.h" # include "ec_lcl.h"

View File

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html * https://www.openssl.org/source/license.html
*/ */
#include <stdint.h> #include <openssl/e_os2.h>
#include <string.h> #include <string.h>
#include <assert.h> #include <assert.h>

View File

@ -20,11 +20,7 @@
# include <openssl/crypto.h> # include <openssl/crypto.h>
# ifndef OPENSSL_NO_SCTP # ifndef OPENSSL_NO_SCTP
# ifndef OPENSSL_SYS_VMS # include <openssl/e_os2.h>
# include <stdint.h>
# else
# include <inttypes.h>
# endif
# endif # endif
#ifdef __cplusplus #ifdef __cplusplus