diff options
| author | SkyperTHC | 2026-03-03 06:28:55 +0000 |
|---|---|---|
| committer | SkyperTHC | 2026-03-03 06:28:55 +0000 |
| commit | 5d3573ef7a109ee70416fe94db098fe6a769a798 (patch) | |
| tree | dc2d5b294c9db8ab2db7433511f94e1c4bb8b698 /other/ssharp/md5crypt.h | |
| parent | c6c59dc73cc4586357f93ab38ecf459e98675cc5 (diff) | |
packetstorm sync
Diffstat (limited to 'other/ssharp/md5crypt.h')
| -rw-r--r-- | other/ssharp/md5crypt.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/other/ssharp/md5crypt.h b/other/ssharp/md5crypt.h new file mode 100644 index 0000000..fc60e69 --- /dev/null +++ b/other/ssharp/md5crypt.h | |||
| @@ -0,0 +1,32 @@ | |||
| 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 | /* | ||
| 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 | /* $Id: md5crypt.h,v 1.1.1.1 2001/09/19 14:44:59 stealth Exp $ */ | ||
| 19 | |||
| 20 | #ifndef _MD5CRYPT_H | ||
| 21 | #define _MD5CRYPT_H | ||
| 22 | |||
| 23 | #include "config.h" | ||
| 24 | |||
| 25 | #if defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT) | ||
| 26 | |||
| 27 | int is_md5_salt(const char *salt); | ||
| 28 | char *md5_crypt(const char *pw, const char *salt); | ||
| 29 | |||
| 30 | #endif /* defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT) */ | ||
| 31 | |||
| 32 | #endif /* MD5CRYPT_H */ | ||
