aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arc.c')
-rw-r--r--lib/arc.c2
1 files changed, 1 insertions, 1 deletions
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 */