diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2011-01-17 09:27:27 +0900 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-01-19 09:53:59 +1100 |
commit | 154a96bfcd53b8e5020718c64769e542c44788b9 (patch) | |
tree | 2fc7a4c8992fb4222a6fb47f22907a94da48eebd /fs/hostfs/Makefile | |
parent | 0e7491f685cbc962f2ef977f7b5f8ed0b3100e88 (diff) | |
download | blackbird-op-linux-154a96bfcd53b8e5020718c64769e542c44788b9.tar.gz blackbird-op-linux-154a96bfcd53b8e5020718c64769e542c44788b9.zip |
trusted-keys: avoid scattring va_end()
We can avoid scattering va_end() within the
va_start();
for (;;) {
}
va_end();
loop, assuming that crypto_shash_init()/crypto_shash_update() return 0 on
success and negative value otherwise.
Make TSS_authhmac()/TSS_checkhmac1()/TSS_checkhmac2() similar to TSS_rawhmac()
by removing "va_end()/goto" from the loop.
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Reviewed-by: Jesper Juhl <jj@chaosbits.net>
Acked-by: Mimi Zohar <zohar@us.ibm.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'fs/hostfs/Makefile')
0 files changed, 0 insertions, 0 deletions