blob: 2e018d878b584943bd4680a41aa21540e237abd6 [file] [log] [blame]
Damien Millerdd1c7ba1999-11-19 15:53:20 +11001/*
2 * ----------------------------------------------------------------------------
3 * "THE BEER-WARE LICENSE" (Revision 42):
4 * <phk@login.dknet.dk> wrote this file. As long as you retain this notice you
5 * can do whatever you want with this stuff. If we meet some day, and you think
6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
7 * ----------------------------------------------------------------------------
8 */
9
10/*
11 * Ported from FreeBSD to Linux, only minimal changes. --marekm
12 */
13
14/*
15 * Adapted from shadow-19990607 by Tudor Bosman, tudorb@jm.nu
16 */
17
18#ifndef _MD5CRYPT_H
19#define _MD5CRYPT_H
20
21#include "config.h"
22
Damien Millerbeb4ba51999-12-28 15:09:35 +110023#if defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT)
Damien Millerdd1c7ba1999-11-19 15:53:20 +110024
25int is_md5_salt(const char *salt);
26char *md5_crypt(const char *pw, const char *salt);
27
Damien Millerbeb4ba51999-12-28 15:09:35 +110028#endif /* defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT) */
29
Damien Millerdd1c7ba1999-11-19 15:53:20 +110030#endif /* MD5CRYPT_H */