aboutsummaryrefslogtreecommitdiffstats
path: root/bin/ykfde.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ykfde.c')
-rw-r--r--bin/ykfde.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/ykfde.c b/bin/ykfde.c
index 2ca7698..eac69c0 100644
--- a/bin/ykfde.c
+++ b/bin/ykfde.c
@@ -283,12 +283,12 @@ int main(int argc, char **argv) {
}
second_factor = payload;
}
-
- /* use an empty string if second_factor is still NULL */
- if (second_factor == NULL)
- second_factor = strdup("");
}
+ /* use an empty string if second_factor is still NULL */
+ if (second_factor == NULL)
+ second_factor = strdup("");
+
/* warn when second factor is not enabled in config */
if (iniparser_getboolean(ini, "general:" CONF2NDFACTOR, 0) == 0 &&
((second_factor != NULL && *second_factor != 0) ||