Return ENOENT for empty keyslots, EINVAL will be used later for other type of errors.
authorMilan Broz <gmazyland@gmail.com>
Thu, 30 Jul 2009 14:55:24 +0000 (14:55 +0000)
committerMilan Broz <gmazyland@gmail.com>
Thu, 30 Jul 2009 14:55:24 +0000 (14:55 +0000)
commitaab7fecd2e2a08cada8015b6916e3555f409b7ab
tree146e949327d7a29c37d0e4753b8fa1716620e73e
parentc5c403323edeed04df8a960c0b5e0d9b89224f66
Return ENOENT for empty keyslots, EINVAL will be used later for other type of errors.

(also clean some spaces)

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@78 36d66b0a-2a48-0410-832c-cd162a569da5
ChangeLog
luks/keymanage.c