view src/auth/mycrypt.h @ 8999:afc1b0ef120d HEAD

When :MAILBOXDIR= was empty, we might have appended extra '/' to it, which caused problems.
author Timo Sirainen <tss@iki.fi>
date Thu, 30 Apr 2009 20:00:09 -0400
parents e4eb71ae8e96
children
line wrap: on
line source

#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