From c29b6d560bfdf6c68f58b5d8c9afb46ac74c3d56 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 26 Feb 2000 00:01:16 +0000 Subject: [PATCH] Since a stack with quite long name is declared here, vms_idhacks.h is also needed to get around C compilers on VMS that set the symbol limit to 31 characters. Bot the macros VMS and __VMS are checked, since there's no real way to know if e_os.h has been included yet. --- crypto/crypto.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/crypto/crypto.h b/crypto/crypto.h index 33a3c79d02..41c937966e 100644 --- a/crypto/crypto.h +++ b/crypto/crypto.h @@ -77,6 +77,11 @@ extern "C" { #include #endif +#if defined(VMS) || defined(__VMS) +#include "vms_idhacks.h" +#endif + + /* Backward compatibility to SSLeay */ /* This is more to be used to check the correct DLL is being used * in the MS world. */ @@ -183,7 +188,7 @@ typedef int CRYPTO_EX_dup(CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from, void *from_d int idx, long argl, void *argp); /* This stuff is basically class callback functions - * The current classes are SSL_CTX, SSL, SSL_SESION, and a few more */ + * The current classes are SSL_CTX, SSL, SSL_SESSION, and a few more */ typedef struct crypto_ex_data_func_st { -- 2.34.1