Re: minor bug in EVP_DecryptFinal_ex

2005-07-20 Thread Nils Larsch
K S Sreeram wrote: when block padding is used, byte value 0 can never be the final byte of the padded plain text, the only valid range is [1 .. block_size]. The check for 0 is not performed when detecting malformed padding in EVP_DecryptFinal_ex. I've attached the one-line patch for this. ok, f

minor bug in EVP_DecryptFinal_ex

2005-07-18 Thread K S Sreeram
when block padding is used, byte value 0 can never be the final byte of the padded plain text, the only valid range is [1 .. block_size]. The check for 0 is not performed when detecting malformed padding in EVP_DecryptFinal_ex. I've attached the one-line patch for this. regards Sreeram diff -ur op