summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2012-03-01 21:29:16 +0000
committerRichard Levitte <levitte@openssl.org>2012-03-01 21:29:16 +0000
commit70505bc334c54e83b8e7692103ee4ddbe7e9a7d6 (patch)
treef59f99861d10e65f30265bf50d6cf7c353c2c746
parent8e8b247341a7fe1a5c6f6e46cf099d90787a2dc8 (diff)
For OpenVMS, use inttypes.h instead of stdint.h
-rw-r--r--crypto/ec/ecp_nistp224.c5
-rw-r--r--crypto/ec/ecp_nistp256.c5
-rw-r--r--crypto/ec/ecp_nistp521.c5
3 files changed, 15 insertions, 0 deletions
diff --git a/crypto/ec/ecp_nistp224.c b/crypto/ec/ecp_nistp224.c
index bf8021c6cf..b5ff56c252 100644
--- a/crypto/ec/ecp_nistp224.c
+++ b/crypto/ec/ecp_nistp224.c
@@ -28,7 +28,12 @@
#include <openssl/opensslconf.h>
#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
+#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/ec/ecp_nistp256.c b/crypto/ec/ecp_nistp256.c
index aa125d35fc..4bc0f5dce0 100644
--- a/crypto/ec/ecp_nistp256.c
+++ b/crypto/ec/ecp_nistp256.c
@@ -29,7 +29,12 @@
#include <openssl/opensslconf.h>
#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
+#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/ec/ecp_nistp521.c b/crypto/ec/ecp_nistp521.c
index 3c7ced394b..178b655f7f 100644
--- a/crypto/ec/ecp_nistp521.c
+++ b/crypto/ec/ecp_nistp521.c
@@ -29,7 +29,12 @@
#include <openssl/opensslconf.h>
#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
+#ifndef OPENSSL_SYS_VMS
#include <stdint.h>
+#else
+#include <inttypes.h>
+#endif
+
#include <string.h>
#include <openssl/err.h>
#include "ec_lcl.h"