Mercurial > dovecot > core-2.2
diff src/auth/mycrypt.c @ 690:413227772e6f HEAD
Moved mycrypt() into auth/ dir, so we don't have to link all programs with
-lcrypt
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 26 Nov 2002 20:39:57 +0200 |
parents | |
children | 7a7e58744e0a |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/auth/mycrypt.c Tue Nov 26 20:39:57 2002 +0200 @@ -0,0 +1,12 @@ +#define _XOPEN_SOURCE 4 +#define _XOPEN_SOURCE_EXTENDED +#define _XOPEN_VERSION 4 +#define _XPG4_2 +#include <unistd.h> + +#include "mycrypt.h" + +char *mycrypt(const char *key, const char *salt) +{ + return crypt(key, salt); +}