Slightly cleanup KeyParameter error handling.

Test: keystore2_test
Change-Id: I06fb3ba134337e989b80acb0616a9f1eaf566069
1 file changed