mirror of https://git.kore.io/kore.git
constify in parameter for kore_base64_decode().
This commit is contained in:
parent
50c3d07b48
commit
823e76f582
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue