diff options
-rw-r--r-- | sys/arch/amd64/stand/libsa/softraid.c | 3 | ||||
-rw-r--r-- | sys/arch/i386/stand/libsa/softraid.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/amd64/stand/libsa/softraid.c b/sys/arch/amd64/stand/libsa/softraid.c index 105262c5715..566f13f955e 100644 --- a/sys/arch/amd64/stand/libsa/softraid.c +++ b/sys/arch/amd64/stand/libsa/softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid.c,v 1.2 2013/01/02 16:20:55 martynas Exp $ */ +/* $OpenBSD: softraid.c,v 1.3 2013/04/04 11:18:03 halex Exp $ */ /* * Copyright (c) 2012 Joel Sing <jsing@openbsd.org> @@ -500,7 +500,6 @@ sr_crypto_decrypt_keys(struct sr_boot_volume *bv) } printf("Passphrase: "); - i = 0; for (i = 0; i < PASSPHRASE_LENGTH - 1; i++) { c = cngetc(); if (c == '\r' || c == '\n') diff --git a/sys/arch/i386/stand/libsa/softraid.c b/sys/arch/i386/stand/libsa/softraid.c index 105262c5715..566f13f955e 100644 --- a/sys/arch/i386/stand/libsa/softraid.c +++ b/sys/arch/i386/stand/libsa/softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid.c,v 1.2 2013/01/02 16:20:55 martynas Exp $ */ +/* $OpenBSD: softraid.c,v 1.3 2013/04/04 11:18:03 halex Exp $ */ /* * Copyright (c) 2012 Joel Sing <jsing@openbsd.org> @@ -500,7 +500,6 @@ sr_crypto_decrypt_keys(struct sr_boot_volume *bv) } printf("Passphrase: "); - i = 0; for (i = 0; i < PASSPHRASE_LENGTH - 1; i++) { c = cngetc(); if (c == '\r' || c == '\n') |