diff options
author | Damien Miller <djm@mindrot.org> | 1999-12-28 15:09:35 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-12-28 15:09:35 +1100 |
commit | beb4ba5a68dbfa478bcc375cc885a047a8301c0d (patch) | |
tree | f612c8142e3891e40e68797c00a339a8efde0a40 /md5crypt.h | |
parent | 4ff2b9bf429f40cb4d8119108cd7c4aa76c081ee (diff) |
- Portability fixes for Irix 5.3 (now compiles OK!)
- autoconf and other misc cleanups
Diffstat (limited to 'md5crypt.h')
-rw-r--r-- | md5crypt.h | 13 |
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 | ||
34 | int is_md5_salt(const char *salt); | 25 | int is_md5_salt(const char *salt); |
35 | char *md5_crypt(const char *pw, const char *salt); | 26 | char *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 */ |