From ca1ed2904e9235deb8bf2d32629c6a49b61bf7c0 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 15 Mar 2018 20:01:11 +0100 Subject: [PATCH] VMS: add alias macros to avoid 31 character symbol name limit warning Affected symbol names: generate_stateless_cookie_callback verify_stateless_cookie_callback Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/5633) --- apps/s_apps.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/s_apps.h b/apps/s_apps.h index 1ca8ff95c7..24541610e1 100644 --- a/apps/s_apps.h +++ b/apps/s_apps.h @@ -58,6 +58,11 @@ int generate_cookie_callback(SSL *ssl, unsigned char *cookie, int verify_cookie_callback(SSL *ssl, const unsigned char *cookie, unsigned int cookie_len); +#ifdef __VMS /* 31 char symbol name limit */ +# define generate_stateless_cookie_callback generate_stateless_cookie_cb +# define verify_stateless_cookie_callback verify_stateless_cookie_cb +#endif + int generate_stateless_cookie_callback(SSL *ssl, unsigned char *cookie, size_t *cookie_len); int verify_stateless_cookie_callback(SSL *ssl, const unsigned char *cookie, -- 2.25.1