f35e13d803295cd1467a74c8168b6d5cb4f7e4ae
[musl] / src / misc / crypt.c
1 #include <unistd.h>
2 #include <crypt.h>
3
4 char *__crypt_r(const char *, const char *, struct crypt_data *);
5
6 char *crypt(const char *key, const char *salt)
7 {
8         /* Note: update this size when we add more hash types */
9         static char buf[21];
10         return __crypt_r(key, salt, (struct crypt_data *)buf);
11 }