Blame SOURCES/ecryptfs-utils-83-fixsalt.patch

9471b7
diff -up ecryptfs-utils-108/src/key_mod/ecryptfs_key_mod_passphrase.c.fixsalt ecryptfs-utils-108/src/key_mod/ecryptfs_key_mod_passphrase.c
9471b7
--- ecryptfs-utils-108/src/key_mod/ecryptfs_key_mod_passphrase.c.fixsalt	2015-02-10 17:59:34.000000000 +0100
9471b7
+++ ecryptfs-utils-108/src/key_mod/ecryptfs_key_mod_passphrase.c	2015-08-11 14:43:52.660840311 +0200
Michal Hlavinka d69e53
@@ -105,7 +105,7 @@ static int tf_pass_file(struct ecryptfs_
Michal Hlavinka d69e53
 out:
Michal Hlavinka d69e53
 	free(node->val);
Michal Hlavinka d69e53
 	node->val = NULL;
Michal Hlavinka d69e53
-	return rc;
Michal Hlavinka d69e53
+	return rc ? rc : DEFAULT_TOK;
Michal Hlavinka d69e53
 }
Michal Hlavinka d69e53
 
Michal Hlavinka d69e53
 static int tf_salt(struct ecryptfs_ctx *ctx, struct param_node *node,