diff options
author | des <des@FreeBSD.org> | 2013-09-18 17:27:38 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2013-09-18 17:27:38 +0000 |
commit | ff2597d3eebc3da3f7cf2a638607274cad9b199e (patch) | |
tree | a3ace41867a87a4a940a57f82cd20c283e6aa7cb /openbsd-compat/xcrypt.c | |
parent | f054e5cb18d6e2020eb4fe568cc383ac22fa23c4 (diff) | |
download | FreeBSD-src-ff2597d3eebc3da3f7cf2a638607274cad9b199e.zip FreeBSD-src-ff2597d3eebc3da3f7cf2a638607274cad9b199e.tar.gz |
Vendor import of OpenSSH 6.3p1
Diffstat (limited to 'openbsd-compat/xcrypt.c')
-rw-r--r-- | openbsd-compat/xcrypt.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/openbsd-compat/xcrypt.c b/openbsd-compat/xcrypt.c index 6291e28..c8aea46 100644 --- a/openbsd-compat/xcrypt.c +++ b/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) |