PR: 2730
authorDr. Stephen Henson <steve@openssl.org>
Sat, 25 Feb 2012 17:58:03 +0000 (17:58 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 25 Feb 2012 17:58:03 +0000 (17:58 +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 4797b928bce1855193ba70eea7c0bb88f46026a4..de1dbd9058a1f031f61963f85c8e95ee51ba6790 100755 (executable)
@@ -503,6 +503,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".