PR: 2730
authorDr. Stephen Henson <steve@openssl.org>
Sat, 25 Feb 2012 17:59:40 +0000 (17:59 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 25 Feb 2012 17:59:40 +0000 (17:59 +0000)
Submitted by: Arpadffy Zoltan <Zoltan.Arpadffy@scientificgames.se>

VMS fixes: disable SCTP by default.

crypto/bio/bio.h
makevms.com

index 60573c624fafd6605adffa06f63e6f829e6215c4..b440bdd6dda3a1a965fbc39cc5ec8a397aee956c 100644 (file)
 #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
index bbb9015fd71923e8795e956bd53ed489ae9dda23..d5a25264b15441173cf95334dad586506b2c4232 100755 (executable)
@@ -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".