summaryrefslogtreecommitdiff
path: root/md5crypt.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-12-28 15:09:35 +1100
committerDamien Miller <djm@mindrot.org>1999-12-28 15:09:35 +1100
commitbeb4ba5a68dbfa478bcc375cc885a047a8301c0d (patch)
treef612c8142e3891e40e68797c00a339a8efde0a40 /md5crypt.h
parent4ff2b9bf429f40cb4d8119108cd7c4aa76c081ee (diff)
- Portability fixes for Irix 5.3 (now compiles OK!)
- autoconf and other misc cleanups
Diffstat (limited to 'md5crypt.h')
-rw-r--r--md5crypt.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/md5crypt.h b/md5crypt.h
index f1d185721..2e018d878 100644
--- a/md5crypt.h
+++ b/md5crypt.h
@@ -20,18 +20,11 @@
20 20
21#include "config.h" 21#include "config.h"
22 22
23#include <unistd.h> 23#if defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT)
24#include <string.h>
25
26#ifdef HAVE_OPENSSL
27#include <openssl/md5.h>
28#endif
29
30#ifdef HAVE_SSL
31#include <ssl/md5.h>
32#endif
33 24
34int is_md5_salt(const char *salt); 25int is_md5_salt(const char *salt);
35char *md5_crypt(const char *pw, const char *salt); 26char *md5_crypt(const char *pw, const char *salt);
36 27
28#endif /* defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT) */
29
37#endif /* MD5CRYPT_H */ 30#endif /* MD5CRYPT_H */