1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-14 17:47:33 -05:00

Const-correctness in the base64 functions.

This commit is contained in:
Simon Tatham
2015-05-12 14:00:04 +01:00
parent 4d88fe3dde
commit f274b56a57
4 changed files with 9 additions and 8 deletions

4
misc.h
View File

@ -44,8 +44,8 @@ int toint(unsigned);
char *fgetline(FILE *fp);
char *chomp(char *str);
void base64_encode_atom(unsigned char *data, int n, char *out);
int base64_decode_atom(char *atom, unsigned char *out);
void base64_encode_atom(const unsigned char *data, int n, char *out);
int base64_decode_atom(const char *atom, unsigned char *out);
struct bufchain_granule;
typedef struct bufchain_tag {