Fix for a bug which meant encrypting BIOs sometimes wouldn't read the final

block.
This commit is contained in:
Dr. Stephen Henson
1999-08-24 13:21:35 +00:00
parent 13066cee60
commit 7b65c3298f
2 changed files with 18 additions and 3 deletions

View File

@@ -4,6 +4,13 @@
Changes between 0.9.4 and 0.9.5 [xx XXX 1999]
*) Fix a horrible bug in enc_read() in crypto/evp/bio_enc.c: if the first data
read consists of only the final block it would not decrypted because
EVP_CipherUpdate() would correctly report zero bytes had been decrypted.
A misplaced 'break' also meant the decrypted final block might not be
copied until the next read.
[Steve Henson]
*) Initial support for DH_METHOD. Again based on RSA_METHOD. Also added
a few extra parameters to the DH structure: these will be useful if
for example we want the value of 'q' or implement X9.42 DH.