Provide RECORD_LAYER_set_data function

Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Matt Caswell
2015-02-02 13:43:38 +00:00
parent f161995e0e
commit bbcd6d7fe2
6 changed files with 25 additions and 19 deletions

View File

@@ -111,7 +111,7 @@
#include "../ssl_locl.h"
void SSL3_BUFFER_set_data(SSL3_BUFFER *b, unsigned char *d, int n)
void SSL3_BUFFER_set_data(SSL3_BUFFER *b, const unsigned char *d, int n)
{
if(d != NULL)
memcpy(b->buf, d, n);