Refactor key slot selection into keyslot_from_option. Either autoselect next
authorClemens Fruhwirth <clemens@endorphin.org>
Sat, 28 Jun 2008 17:45:55 +0000 (17:45 +0000)
committerClemens Fruhwirth <clemens@endorphin.org>
Sat, 28 Jun 2008 17:45:55 +0000 (17:45 +0000)
commitf7803083d0ac0e26c42fda514a7eb0a145cae928
treed6265897e749e36ccfedfc64fe707e1b6ba3d54f
parent50aba1c26e08bc195baa6a047ec3a6c4452dbfaa
Refactor key slot selection into keyslot_from_option. Either autoselect next
free keyslot or honor user choice (after checking).

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@24 36d66b0a-2a48-0410-832c-cd162a569da5
lib/setup.c