Constification.

Conflicts:
	crypto/buffer/buffer.c
This commit is contained in:
Ben Laurie 2013-10-01 14:51:04 +01:00
parent e6b4ed7ffa
commit 5f0df1f650
2 changed files with 2 additions and 2 deletions

View file

@ -237,7 +237,7 @@ size_t BUF_strlcat(char *dst, const char *src, size_t size)
return l + BUF_strlcpy(dst, src, size);
}
void BUF_reverse(unsigned char *out, unsigned char *in, size_t size)
void BUF_reverse(unsigned char *out, const unsigned char *in, size_t size)
{
size_t i;
if (in)

View file

@ -88,7 +88,7 @@ int BUF_MEM_grow_clean(BUF_MEM *str, size_t len);
char * BUF_strdup(const char *str);
char * BUF_strndup(const char *str, size_t siz);
void * BUF_memdup(const void *data, size_t siz);
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);
/* safe string functions */
size_t BUF_strlcpy(char *dst,const char *src,size_t siz);