Skip to content
Commit 64846096 authored by Lukasz Pawelczyk's avatar Lukasz Pawelczyk Committed by Matt Caswell
Browse files

Restore EVP_CIPH_FLAG_LENGTH_BITS working properly



EVP_CIPH_FLAG_LENGTH_BITS flag for CFB1 has been broken with the
introduction of the is_partially_overlapping() check that did not take
it into the account (treating number of bits passed as bytes). This
remedies that and allows this flag to work as intended.

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1942)
parent 222c3da3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment