diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2016-01-30 20:38:08 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-01-31 14:05:13 -0500 |
commit | 8ab31975bacb9c907261088937d3aa4102e3af84 (patch) | |
tree | 5c607508997ae2699e088446a2bd40f199fc6dfb /include | |
parent | 0e87e05816d3e4b66ea7904634095aad5f6f325f (diff) | |
download | openssl-8ab31975bacb9c907261088937d3aa4102e3af84.tar.gz |
RT4129: BUF_new_mem_buf should take const void *
Signed-off-by: Rich Salz <rsalz@akamai.com>
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/bio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/bio.h b/include/openssl/bio.h index 8b00ffdda7..9b398ee51b 100644 --- a/include/openssl/bio.h +++ b/include/openssl/bio.h @@ -655,7 +655,7 @@ long BIO_debug_callback(BIO *bio, int cmd, const char *argp, int argi, BIO_METHOD *BIO_s_mem(void); BIO_METHOD *BIO_s_secmem(void); -BIO *BIO_new_mem_buf(void *buf, int len); +BIO *BIO_new_mem_buf(const void *buf, int len); BIO_METHOD *BIO_s_socket(void); BIO_METHOD *BIO_s_connect(void); BIO_METHOD *BIO_s_accept(void); |