summaryrefslogtreecommitdiff
path: root/md5crypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'md5crypt.h')
-rw-r--r--md5crypt.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/md5crypt.h b/md5crypt.h
index 21356fbe7..2341e2c12 100644
--- a/md5crypt.h
+++ b/md5crypt.h
@@ -7,15 +7,7 @@
7 * ---------------------------------------------------------------------------- 7 * ----------------------------------------------------------------------------
8 */ 8 */
9 9
10/* 10/* $Id: md5crypt.h,v 1.4 2003/05/18 14:46:46 djm Exp $ */
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.3 2001/02/09 01:55:36 djm Exp $ */
19 11
20#ifndef _MD5CRYPT_H 12#ifndef _MD5CRYPT_H
21#define _MD5CRYPT_H 13#define _MD5CRYPT_H
@@ -24,8 +16,8 @@
24 16
25#if defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT) 17#if defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT)
26 18
27int is_md5_salt(const char *salt); 19int is_md5_salt(const char *);
28char *md5_crypt(const char *pw, const char *salt); 20char *md5_crypt(const char *, const char *);
29 21
30#endif /* defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT) */ 22#endif /* defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT) */
31 23