diff options
Diffstat (limited to 'cli-auth.c')
-rw-r--r-- | cli-auth.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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); |