diff options
author | Damien Miller <djm@mindrot.org> | 2021-05-06 10:08:30 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2021-10-28 16:16:13 +1100 |
commit | a5ab4882348d26addc9830a44e053238dfa2cb58 (patch) | |
tree | 82ee92feaa15fa4c3e33f4ae43107fcbbd2885e8 /md5crypt.h | |
parent | c5de1fffa6328b8246b87da28fa9df05813f76a3 (diff) |
remove built-in support for md5crypt()
Users of MD5-hashed password should arrange for ./configure to link
against libxcrypt or similar. Though it would be better to avoid use
of MD5 password hashing entirely, it's arguably worse than DEScrypt.
feedback and ok dtucker@
Diffstat (limited to 'md5crypt.h')
-rw-r--r-- | md5crypt.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/md5crypt.h b/md5crypt.h deleted file mode 100644 index 978e579c..00000000 --- a/md5crypt.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * ---------------------------------------------------------------------------- - * "THE BEER-WARE LICENSE" (Revision 42): - * <phk@login.dknet.dk> wrote this file. As long as you retain this notice you - * can do whatever you want with this stuff. If we meet some day, and you think - * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp - * ---------------------------------------------------------------------------- - */ - -#ifndef _MD5CRYPT_H -#define _MD5CRYPT_H - -#include "config.h" - -#if defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT) - -int is_md5_salt(const char *); -char *md5_crypt(const char *, const char *); - -#endif /* defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT) */ - -#endif /* MD5CRYPT_H */ |