aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-22 04:38:40 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-22 04:38:40 +0100
commit0a63ea381f18175f867575ee851607a8617dc095 (patch)
treeed96ded5d4db0a30cc5428c35740aa6d0f27c3ea /src
parentauth with pam (diff)
downloadlibpassphrase-0a63ea381f18175f867575ee851607a8617dc095.tar.gz
libpassphrase-0a63ea381f18175f867575ee851607a8617dc095.tar.bz2
libpassphrase-0a63ea381f18175f867575ee851607a8617dc095.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/cerberus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cerberus.c b/src/cerberus.c
index d18b690..ece4825 100644
--- a/src/cerberus.c
+++ b/src/cerberus.c
@@ -224,7 +224,7 @@ void do_login(int argc, char** argv)
alarm(0);
/* Wipe and free the passphrase from the memory */
- if ((skip_auth == 0) && passphrase)
+ if (passphrase)
{
long i;
for (i = 0; *(passphrase + i); i++)