From 819370c7b76e506dcb8f3b8c40658f9c487a64d3 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Fri, 28 Sep 2012 07:04:41 +0000
Subject: [PATCH] - Removed lowercasing of parameters
---
programs/ssl/ssl_mail_client.c | 13 +------------
programs/ssl/ssl_server2.c | 9 ---------
2 files changed, 1 insertion(+), 21 deletions(-)
diff --git a/programs/ssl/ssl_mail_client.c b/programs/ssl/ssl_mail_client.c
index a94d38a24..b450030c9 100644
--- a/programs/ssl/ssl_mail_client.c
+++ b/programs/ssl/ssl_mail_client.c
@@ -353,7 +353,7 @@ int main( int argc, char *argv[] )
x509_cert clicert;
rsa_context rsa;
int i;
- size_t j, n;
+ size_t n;
char *p, *q;
const int *list;
@@ -396,17 +396,6 @@ int main( int argc, char *argv[] )
for( i = 1; i < argc; i++ )
{
- n = strlen( argv[i] );
-
- for( j = 0; j < n; j++ )
- {
- if( argv[i][j] == '=')
- break;
-
- if( argv[i][j] >= 'A' && argv[i][j] <= 'Z' )
- argv[i][j] |= 0x20;
- }
-
p = argv[i];
if( ( q = strchr( p, '=' ) ) == NULL )
goto usage;
diff --git a/programs/ssl/ssl_server2.c b/programs/ssl/ssl_server2.c
index decf31236..22b88e46a 100644
--- a/programs/ssl/ssl_server2.c
+++ b/programs/ssl/ssl_server2.c
@@ -148,7 +148,6 @@ int main( int argc, char *argv[] )
#endif
int i;
- size_t j, n;
char *p, *q;
const int *list;
@@ -193,14 +192,6 @@ int main( int argc, char *argv[] )
for( i = 1; i < argc; i++ )
{
- n = strlen( argv[i] );
-
- for( j = 0; j < n; j++ )
- {
- if( argv[i][j] >= 'A' && argv[i][j] <= 'Z' )
- argv[i][j] |= 0x20;
- }
-
p = argv[i];
if( ( q = strchr( p, '=' ) ) == NULL )
goto usage;