Hi all,

yesterday I came across a bug in OpenSSL 0.9.7-beta3. When getting
an EVP_CIPHER in OFB/CFB mode, it reports as its block size the 
block size of the underlying encryption algorithm, rather than 1.
Needless to say, this makes any application fail that uses a
cipher in CFB/OFB stream mode.

If this isn't a bug, it's at least a departure from the behavior
of previous versions... :)

Looking at evp_locl.h, there are two monster macros for setting
up an EVP_CIPHER suite - the one that's commented out at the
moment seems to do the right thing.

Cheers,
Olaf
-- 
Olaf Kirch     |  Anyone who has had to work with X.509 has probably
[EMAIL PROTECTED]   |  experienced what can best be described as
---------------+  ISO water torture. -- Peter Gutmann

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to