diff options
Diffstat (limited to 'src/auth/mycrypt.h')
-rw-r--r-- | src/auth/mycrypt.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/auth/mycrypt.h b/src/auth/mycrypt.h new file mode 100644 index 0000000..550adfc --- /dev/null +++ b/src/auth/mycrypt.h @@ -0,0 +1,8 @@ +#ifndef MYCRYPT_H +#define MYCRYPT_H + +/* A simple wrapper to crypt(). Problem with it is that it requires + _XOPEN_SOURCE define which breaks other things. */ +char *mycrypt(const char *key, const char *salt); + +#endif |