[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Thu May 11 19:53:14 UTC 2017


The branch master has been updated
       via  74a011ebb5e9028ef18982d737a434a8ff926a95 (commit)
      from  0b10da806a3a15b9bfe24ce8d67d3ebac7b7ab06 (commit)


- Log -----------------------------------------------------------------
commit 74a011ebb5e9028ef18982d737a434a8ff926a95
Author: Richard Levitte <levitte at openssl.org>
Date:   Thu May 11 20:20:07 2017 +0200

    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 at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/3447)

-----------------------------------------------------------------------

Summary of changes:
 crypto/ec/ecp_nistp521.c | 8 +-------
 crypto/sha/keccak1600.c  | 2 +-
 include/openssl/bio.h    | 6 +-----
 3 files changed, 3 insertions(+), 13 deletions(-)

diff --git a/crypto/ec/ecp_nistp521.c b/crypto/ec/ecp_nistp521.c
index 33c4cd5..929be85 100644
--- a/crypto/ec/ecp_nistp521.c
+++ b/crypto/ec/ecp_nistp521.c
@@ -31,17 +31,11 @@
  * 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"
diff --git a/crypto/sha/keccak1600.c b/crypto/sha/keccak1600.c
index 1056f89..9deba8f 100644
--- a/crypto/sha/keccak1600.c
+++ b/crypto/sha/keccak1600.c
@@ -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>
 
diff --git a/include/openssl/bio.h b/include/openssl/bio.h
index de71475..003a9b1 100644
--- a/include/openssl/bio.h
+++ b/include/openssl/bio.h
@@ -20,11 +20,7 @@
 # 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


More information about the openssl-commits mailing list