diff options
author | Emilia Kasper <emilia@openssl.org> | 2016-02-01 15:26:18 +0100 |
---|---|---|
committer | Emilia Kasper <emilia@openssl.org> | 2016-02-01 16:21:57 +0100 |
commit | b69817449315f3818a8472468b3328ea755819db (patch) | |
tree | bb2abb48ce582d6d9b8fdc6e216ee0028deff817 /include/openssl/buffer.h | |
parent | 0c787647ded59a81311d905024bc93df5d3a061c (diff) | |
download | openssl-b69817449315f3818a8472468b3328ea755819db.tar.gz |
constify PACKET
PACKET contents should be read-only. To achieve this, also
- constify two user callbacks
- constify BUF_reverse.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'include/openssl/buffer.h')
-rw-r--r-- | include/openssl/buffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/buffer.h b/include/openssl/buffer.h index b325416f95..f5b46dd71a 100644 --- a/include/openssl/buffer.h +++ b/include/openssl/buffer.h @@ -99,7 +99,7 @@ BUF_MEM *BUF_MEM_new_ex(unsigned long flags); void BUF_MEM_free(BUF_MEM *a); size_t BUF_MEM_grow(BUF_MEM *str, size_t len); size_t BUF_MEM_grow_clean(BUF_MEM *str, size_t len); -void BUF_reverse(unsigned char *out, unsigned char *in, size_t siz); +void BUF_reverse(unsigned char *out, const unsigned char *in, size_t siz); /* BEGIN ERROR CODES */ /* |