From 9a1c14d8b636510242f81558f7f0a43918636865 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sat, 24 Dec 2011 19:12:15 +0100 Subject: An empty password is still a password, don't refuse accounts for that. --- lib/arc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/arc.c') diff --git a/lib/arc.c b/lib/arc.c index fd498454..1bd5cf87 100644 --- a/lib/arc.c +++ b/lib/arc.c @@ -199,7 +199,7 @@ int arc_decode( unsigned char *crypt, int crypt_len, char **clear, char *passwor if( clear_len < 0 ) { *clear = g_strdup( "" ); - return 0; + return -1; } /* Prepare buffers and the key + IV */ -- cgit v1.2.3