From 7233bea26350d0541909a2fe30e87a95327fb065 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 27 May 2016 10:12:58 +0200 Subject: Remove internal functions OPENSSL_strcasecmp and OPENSSL_strncasecmp Their only reason to exist was that they didn't exist in VMS before version 7.0. We do not support such old versions any more. However, for the benefit of systems that don't get strings.h included by string.h, we include the former in e_os.h. RT#4458 Reviewed-by: Viktor Dukhovni --- e_os.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'e_os.h') diff --git a/e_os.h b/e_os.h index 53e0ecf800..700d7d05ce 100644 --- a/e_os.h +++ b/e_os.h @@ -476,12 +476,8 @@ struct servent *PASCAL getservbyname(const char *, const char *); # define strdup _strdup # define unlink _unlink # endif -# elif defined(OPENSSL_SYS_VMS) -/* VMS below version 7.0 doesn't have strcasecmp() */ -# include "internal/o_str.h" -# define strcasecmp OPENSSL_strcasecmp -# define strncasecmp OPENSSL_strncasecmp -# define OPENSSL_IMPLEMENTS_strncasecmp +# else +# include # endif /* vxworks */ -- cgit v1.2.3