diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-08-19 13:07:43 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-08-19 13:07:43 +0000 |
commit | 8484721adb154f47de28e64d581b40adca6c5e68 (patch) | |
tree | 08bb758009dfb981d11b1b46b37a8f976d1c22a4 /CHANGES | |
parent | de1915e48c0be56fadf7c7f1987536e1522df275 (diff) |
Allow memory bios to be read only and change PKCS#7 routines to use them.
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -4,6 +4,18 @@ Changes between 0.9.4 and 0.9.5 [xx XXX 1999] + *) Add a new flag to memory BIOs, BIO_FLAG_MEM_RDONLY. This marks the BIO + as "read only": it can't be written to and the buffer it points to will + not be freed. Reading from a read only BIO is much more efficient than + a normal memory BIO. This was added because there are several times when + an area of memory needs to be read from a BIO. The previous method was + to create a memory BIO and write the data to it, this results in two + copies of the data and an O(n^2) reading algorithm. There is a new + function BIO_new_mem_buf() which creates a read only memory BIO from + an area of memory. Also modified the PKCS#7 routines to use read only + memory BIOSs. + [Steve Henson] + *) Bugfix: ssl23_get_client_hello did not work properly when called in state SSL23_ST_SR_CLNT_HELLO_B, i.e. when the first 7 bytes of a SSLv2-compatible client hello for SSLv3 or TLSv1 could be read, |