[Cryptech-Commits] [sw/stm32] 02/04: Remove old default user.
git at cryptech.is
git at cryptech.is
Tue Jun 28 05:25:15 UTC 2016
This is an automated email from the git hooks/post-receive script.
paul at psgd.org pushed a commit to branch master
in repository sw/stm32.
commit 494081d72999946076995bacf844e022f1bc09b1
Author: Paul Selkirk <paul at psgd.org>
AuthorDate: Mon Jun 27 15:47:01 2016 -0400
Remove old default user.
---
projects/hsm/mgmt-cli.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/projects/hsm/mgmt-cli.c b/projects/hsm/mgmt-cli.c
index 406d50c..7789dd1 100644
--- a/projects/hsm/mgmt-cli.c
+++ b/projects/hsm/mgmt-cli.c
@@ -222,12 +222,6 @@ static int check_auth(const char *username, const char *password)
{
hal_client_handle_t client = { -1 };
- /* Old default user. Remove this soon. */
- if ((strcasecmp(username, "ct") == 0) && (strcasecmp(password, "ct") == 0)) {
- user = HAL_USER_NORMAL;
- return CLI_OK;
- }
-
/* PIN-based login */
if (strcmp(username, "wheel") == 0)
user = HAL_USER_WHEEL;
More information about the Commits
mailing list