cryptsetup - fix hash() frontend function
authorAlex Hornung <ahornung@gmail.com>
Thu, 9 Sep 2010 18:57:33 +0000 (19:57 +0100)
committerAlex Hornung <ahornung@gmail.com>
Thu, 9 Sep 2010 18:59:46 +0000 (19:59 +0100)
commit31ba0e0d7ada3242ce5822c127fea885bc58fcc4
tree2502285686410f43b9d236ae884056e94d3635e8
parent5ba3877babd50ff7790380a3c73972261be757e9
cryptsetup - fix hash() frontend function

* hash() in backends.c would always return ENOENT, because the return
  variable r wasn't being updated.

* luks wasn't affected by this as it uses a different path, but using
  cryptsetup without luks would trigger this.

Reported-by: Matthias Schmidt (matthias@)
contrib/cryptsetup/lib/backends.c