view src/auth/mycrypt.h @ 20419:0dc214cf2e30

auth-policy: Add policy implementation
author Aki Tuomi <aki.tuomi@dovecot.fi>
date Fri, 03 Jun 2016 20:21:42 +0300
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