[Cryptech-Commits] [sw/stm32] 01/03: strcasecmp() is not a standard function.

git at cryptech.is git at cryptech.is
Sun Oct 16 20:23:14 UTC 2016


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch ksng
in repository sw/stm32.

commit d5f67d098f78db2473df9e877bb2f3781babcfac
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Fri Oct 7 20:28:08 2016 -0400

    strcasecmp() is not a standard function.
---
 projects/cli-test/mgmt-cli.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/projects/cli-test/mgmt-cli.c b/projects/cli-test/mgmt-cli.c
index 8f5db9d..b513ddc 100644
--- a/projects/cli-test/mgmt-cli.c
+++ b/projects/cli-test/mgmt-cli.c
@@ -164,9 +164,9 @@ hal_user_t user;
 
 static int check_auth(const char *username, const char *password)
 {
-    if (strcasecmp(username, "ct") != 0)
+    if (strcmp(username, "ct") != 0)
 	return CLI_ERROR;
-    if (strcasecmp(password, "ct") != 0)
+    if (strcmp(password, "ct") != 0)
 	return CLI_ERROR;
     return CLI_OK;
 }



More information about the Commits mailing list