Import OpenSSH-7.6p1
[dragonfly.git] / crypto / openssh / md5crypt.h
1 /*
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 #ifndef _MD5CRYPT_H
11 #define _MD5CRYPT_H
12
13 #include "config.h"
14
15 #if defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT)
16
17 int is_md5_salt(const char *);
18 char *md5_crypt(const char *, const char *);
19
20 #endif /* defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT) */
21
22 #endif /* MD5CRYPT_H */