summaryrefslogtreecommitdiffhomepage
path: root/cli-auth.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2016-03-15 21:41:22 +0800
committerMatt Johnston <matt@ucc.asn.au>2016-03-15 21:41:22 +0800
commit6bfbcdbfdb00f22727cfb749b1c60a80210ecfc7 (patch)
tree3e6f647d212466933d744e47dcdbcf97ff00ecfc /cli-auth.c
parentfdc61f3ab2c07f3f8d0546ee83b1a6776cc1786e (diff)
parent645b2541732cebbccd499c4e8bf18f86d77bff0f (diff)
Merge branch 'fperrad-20151231_indent'
Diffstat (limited to 'cli-auth.c')
-rw-r--r--cli-auth.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/cli-auth.c b/cli-auth.c
index da0d9d5..59d455b 100644
--- a/cli-auth.c
+++ b/cli-auth.c
@@ -332,12 +332,12 @@ char* getpass_or_cancel(char* prompt)
char* password = NULL;
#ifdef DROPBEAR_PASSWORD_ENV
- /* Password provided in an environment var */
- password = getenv(DROPBEAR_PASSWORD_ENV);
- if (password)
- {
- return password;
- }
+ /* Password provided in an environment var */
+ password = getenv(DROPBEAR_PASSWORD_ENV);
+ if (password)
+ {
+ return password;
+ }
#endif
password = getpass(prompt);