Changeset dd95ce4 for lib


Ignore:
Timestamp:
2013-04-20T13:17:22Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
a016221, e277e80, f539d6e
Parents:
e31e5b8
Message:

Const is hard, let's go hacking.

Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/arc.c

    re31e5b8 rdd95ce4  
    188188}
    189189
    190 int arc_decode( unsigned char *crypt, int crypt_len, char **clear, char *password )
     190int arc_decode( unsigned char *crypt, int crypt_len, char **clear, const char *password )
    191191{
    192192        struct arc_state *st;
  • lib/arc.h

    re31e5b8 rdd95ce4  
    3838unsigned char arc_getbyte( struct arc_state *st );
    3939int arc_encode( char *clear, int clear_len, unsigned char **crypt, char *password, int pad_to );
    40 int arc_decode( unsigned char *crypt, int crypt_len, char **clear, char *password );
     40int arc_decode( unsigned char *crypt, int crypt_len, char **clear, const char *password );
Note: See TracChangeset for help on using the changeset viewer.