10 |
* |
* |
11 |
*/ |
*/ |
12 |
|
|
|
#if defined(LIBC_SCCS) && !defined(lint) |
|
|
static char rcsid[] = "$Id$"; |
|
|
#endif /* LIBC_SCCS and not lint */ |
|
|
|
|
13 |
#if defined(HAVE_CONFIG_H) |
#if defined(HAVE_CONFIG_H) |
14 |
# include <config.h> |
# include <config.h> |
15 |
#endif |
#endif |
18 |
#include <stdio.h> |
#include <stdio.h> |
19 |
#include <sysdep.h> |
#include <sysdep.h> |
20 |
#include <md5.h> |
#include <md5.h> |
21 |
|
#if defined(HAVE_CRYPT_H) |
22 |
|
# include <crypt.h> |
23 |
|
#endif |
24 |
|
|
25 |
static unsigned char itoa64[] = /* 0 ... 63 => ascii - 64 */ |
static unsigned char itoa64[] = /* 0 ... 63 => ascii - 64 */ |
26 |
"./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; |
"./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; |