Missing else in cipher_hw_aes_ocb_generic_initkey
authorFangming.Fang <fangming.fang@arm.com>
Thu, 26 Sep 2019 02:14:54 +0000 (12:14 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Thu, 26 Sep 2019 02:14:54 +0000 (12:14 +1000)
commit0dceb3f5d8f70a763a9c94203079e0f806bc73ba
tree0a05300ace2559df9b6606709406104dd457bf36
parent42462e4016d85b2abc5dcd5c872a71bb7521e079
Missing else in cipher_hw_aes_ocb_generic_initkey

This came from commit 3837c202 "Add aes_ocb cipher to providers". It
causes the default non-hardware accelerated AES implementation to be
used even if HWAES_CAPABLE is set. Affects all platforms except X86 and
SPARC.

Patch by: Nick Gasson <Nick.Gasson@arm.com>
Change-Id: I26001a3a922ff23f6090fdcefefaecf68e92e2a6

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10012)
providers/default/ciphers/cipher_aes_ocb_hw.c