constify in parameter for kore_base64_decode().

This commit is contained in:
Joris Vink 2018-03-01 12:54:54 +01:00
parent 50c3d07b48
commit 823e76f582
2 changed files with 2 additions and 2 deletions

View File

@ -586,7 +586,7 @@ void kore_strip_chars(char *, const char, char **);
int kore_snprintf(char *, size_t, int *, const char *, ...);
long long kore_strtonum(const char *, int, long long, long long, int *);
int kore_base64_encode(const void *, size_t, char **);
int kore_base64_decode(char *, u_int8_t **, size_t *);
int kore_base64_decode(const char *, u_int8_t **, size_t *);
void *kore_mem_find(void *, size_t, void *, size_t);
char *kore_text_trim(char *, size_t);
char *kore_read_line(FILE *, char *, size_t);

View File

@ -445,7 +445,7 @@ kore_base64_encode(const void *data, size_t len, char **out)
}
int
kore_base64_decode(char *in, u_int8_t **out, size_t *olen)
kore_base64_decode(const char *in, u_int8_t **out, size_t *olen)
{
int i, c;
struct kore_buf *res;