summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsteve <steve>2012-02-25 17:59:40 +0000
committersteve <steve>2012-02-25 17:59:40 +0000
commitaeccbbb4cec0a52ce72b421427dd8d816765e750 (patch)
tree19e145db5f77984d3fb80a398f2dc1f8f45bba3a
parentea76147a42ff0db91be8c3a12f08a75be1382b27 (diff)
downloadopenssl-aeccbbb4cec0a52ce72b421427dd8d816765e750.tar.gz
PR: 2730
Submitted by: Arpadffy Zoltan <Zoltan.Arpadffy@scientificgames.se> VMS fixes: disable SCTP by default.
-rw-r--r--crypto/bio/bio.h6
-rwxr-xr-xmakevms.com3
2 files changed, 8 insertions, 1 deletions
diff --git a/crypto/bio/bio.h b/crypto/bio/bio.h
index 60573c624..b440bdd6d 100644
--- a/crypto/bio/bio.h
+++ b/crypto/bio/bio.h
@@ -69,7 +69,11 @@
#include <openssl/crypto.h>
#ifndef OPENSSL_NO_SCTP
-#include <stdint.h>
+# ifndef OPENSSL_SYS_VMS
+# include <stdint.h>
+# else
+# include <inttypes.h>
+# endif
#endif
#ifdef __cplusplus
diff --git a/makevms.com b/makevms.com
index bbb9015fd..d5a25264b 100755
--- a/makevms.com
+++ b/makevms.com
@@ -504,6 +504,9 @@ $ WRITE H_FILE " * value _IONBF is not supported."
$ WRITE H_FILE " * So, skip it on VMS."
$ WRITE H_FILE " */"
$ WRITE H_FILE "#define OPENSSL_NO_SETVBUF_IONBF"
+$ WRITE H_FILE "/* STCP support comes with TCPIP 5.7 ECO 2 "
+$ WRITE H_FILE " * enable on newer systems / 2012-02-24 arpadffy */"
+$ WRITE H_FILE "#define OPENSSL_NO_SCTP"
$ WRITE H_FILE ""
$!
$! Add in the common "crypto/opensslconf.h.in".