]> andersk Git - openssh.git/blobdiff - md5crypt.h
- (dtucker) Wrap use of IPPROTO_IPV6 in an ifdef for platforms that don't
[openssh.git] / md5crypt.h
index f1d185721f3a1a4dd101417dcb35cc56dd83e88f..b822d4fff83a23a57230360558db6d78b9fa1c19 100644 (file)
@@ -7,31 +7,18 @@
  * ----------------------------------------------------------------------------
  */
 
-/*
- * Ported from FreeBSD to Linux, only minimal changes.  --marekm
- */
-
-/*
- * Adapted from shadow-19990607 by Tudor Bosman, tudorb@jm.nu
- */
+/* $Id$ */
 
 #ifndef _MD5CRYPT_H
 #define _MD5CRYPT_H
 
 #include "config.h"
 
-#include <unistd.h>
-#include <string.h>
-
-#ifdef HAVE_OPENSSL
-#include <openssl/md5.h>
-#endif
+#if defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT)
 
-#ifdef HAVE_SSL
-#include <ssl/md5.h>
-#endif
+int is_md5_salt(const char *);
+char *md5_crypt(const char *, const char *);
 
-int is_md5_salt(const char *salt);
-char *md5_crypt(const char *pw, const char *salt);
+#endif /* defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT) */
 
 #endif /* MD5CRYPT_H */
This page took 0.031071 seconds and 4 git commands to generate.