[openssl-dev] [openssl.org #4129] [PATCH] Can BIO_new_mem_buf take a const void* instead of a void* ?

2016-02-01 Thread Rich Salz via RT
Why yes, yes it can, Dan. :) Fixed in master and 1.0.2; thanks for the comprehensive patch. -- Rich Salz, OpenSSL dev team; rs...@openssl.org ___ openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

[openssl-dev] [openssl.org #4129] [PATCH] Can BIO_new_mem_buf take a const void* instead of a void* ?

2015-11-08 Thread Daniel Kahn Gillmor via RT
The documentation asserts that BIO_new_mem_buf is forced to a read-only state ("The BIO is set to a read only state and as a result cannot be written to"), but it requires passing in a void*. This makes it hard to use from a function that has a const buffer. Presumably most code that tries to