mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
More utility cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
utils.c
4
utils.c
@@ -278,7 +278,7 @@ void ast_md5_hash(char *output, char *input)
|
||||
ptr += sprintf(ptr, "%2.2x", digest[x]);
|
||||
}
|
||||
|
||||
int ast_base64decode(unsigned char *dst, char *src, int max)
|
||||
int ast_base64decode(unsigned char *dst, const char *src, int max)
|
||||
{
|
||||
int cnt = 0;
|
||||
unsigned int byte = 0;
|
||||
@@ -316,7 +316,7 @@ int ast_base64decode(unsigned char *dst, char *src, int max)
|
||||
return cnt;
|
||||
}
|
||||
|
||||
int ast_base64encode(char *dst, unsigned char *src, int srclen, int max)
|
||||
int ast_base64encode(char *dst, const unsigned char *src, int srclen, int max)
|
||||
{
|
||||
int cnt = 0;
|
||||
unsigned int byte = 0;
|
||||
|
||||
Reference in New Issue
Block a user