Changeset 3194 for trunk/cscrypt
- Timestamp:
- 09/23/10 14:22:18 (14 years ago)
- Location:
- trunk/cscrypt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cscrypt/cscrypt.h
r712 r3194 34 34 35 35 #define MD5_DIGEST_LENGTH 16 36 char * __md5_crypt(const char *, const char * );36 char * __md5_crypt(const char *, const char *, char *); 37 37 unsigned char *MD5(const unsigned char *, unsigned long, unsigned char *); 38 38 unsigned long crc32(unsigned long, const unsigned char *, unsigned int); -
trunk/cscrypt/md5.c
r3181 r3194 539 539 */ 540 540 541 char * __md5_crypt( const char *pw, const char *salt )541 char * __md5_crypt( const char *pw, const char *salt, char *passwd ) 542 542 { 543 543 /* Static stuff */ 544 544 static const char *sp, *ep; 545 static char passwd[120],*p;545 static char *p; 546 546 547 547 unsigned char final[17]; /* final[16] exists only to aid in looping */
Note:
See TracChangeset
for help on using the changeset viewer.