From: Richard Levitte Date: Thu, 15 Mar 2018 19:01:11 +0000 (+0100) Subject: VMS: add alias macros to avoid 31 character symbol name limit warning X-Git-Tag: OpenSSL_1_1_1-pre3~61 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ca1ed2904e9235deb8bf2d32629c6a49b61bf7c0;p=oweals%2Fopenssl.git 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) --- 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,