diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/arc.c | 2 | ||||
-rw-r--r-- | lib/arc.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -187,7 +187,7 @@ int arc_encode( char *clear, int clear_len, unsigned char **crypt, char *passwor return clear_len + ARC_IV_LEN; } -int arc_decode( unsigned char *crypt, int crypt_len, char **clear, char *password ) +int arc_decode( unsigned char *crypt, int crypt_len, char **clear, const char *password ) { struct arc_state *st; unsigned char *key; @@ -37,4 +37,4 @@ struct arc_state G_GNUC_MALLOC struct arc_state *arc_keymaker( unsigned char *key, int kl, int cycles ); unsigned char arc_getbyte( struct arc_state *st ); int arc_encode( char *clear, int clear_len, unsigned char **crypt, char *password, int pad_to ); -int arc_decode( unsigned char *crypt, int crypt_len, char **clear, char *password ); +int arc_decode( unsigned char *crypt, int crypt_len, char **clear, const char *password ); |