From: Richard Levitte Date: Tue, 11 Jan 2005 06:53:30 +0000 (+0000) Subject: Remove VMS_strcasecmp() from apps.c, it's not used any more. And X-Git-Tag: OpenSSL_0_9_7f~50 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=97c2c819b323a9f0ea1e7e360bc5c1ffa403a0a7;p=oweals%2Fopenssl.git Remove VMS_strcasecmp() from apps.c, it's not used any more. And besides, the implementation is bogus. --- diff --git a/apps/apps.c b/apps/apps.c index 47c1a22b5d..9157cdfcdc 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -330,22 +330,6 @@ void program_name(char *in, char *out, int size) #endif #endif -#ifdef OPENSSL_SYS_VMS -int VMS_strcasecmp(const char *str1, const char *str2) - { - while (*str1 && *str2) - { - int res = toupper(*str1) - toupper(*str2); - if (res) return res < 0 ? -1 : 1; - } - if (*str1) - return 1; - if (*str2) - return -1; - return 0; - } -#endif - int chopup_args(ARGS *arg, char *buf, int *argc, char **argv[]) { int num,len,i;