diff options
Diffstat (limited to 'crypto/openssh/openbsd-compat/xcrypt.c')
-rw-r--r-- | crypto/openssh/openbsd-compat/xcrypt.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crypto/openssh/openbsd-compat/xcrypt.c b/crypto/openssh/openbsd-compat/xcrypt.c index 6291e28..c8aea46 100644 --- a/crypto/openssh/openbsd-compat/xcrypt.c +++ b/crypto/openssh/openbsd-compat/xcrypt.c @@ -55,7 +55,12 @@ # if defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT) # include "md5crypt.h" -# endif +# endif + +# if !defined(HAVE_CRYPT) && defined(HAVE_DES_CRYPT) +# include <openssl/des.h> +# define crypt DES_crypt +# endif char * xcrypt(const char *password, const char *salt) |