mirror of
https://github.com/rfc1036/whois.git
synced 2026-08-31 07:30:22 +00:00
mkpasswd: enable bcrypt if supported by the OS
This commit is contained in:
parent
4362ef1fc4
commit
388d5757c4
6
config.h
6
config.h
@ -52,6 +52,12 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined OpenBSD && OpenBSD < 201405
|
||||
# define HAVE_BCRYPT_OBSOLETE
|
||||
#elif defined OpenBSD || defined __FreeBSD__ || (defined __SVR4 && defined __sun) || defined _OW_SOURCE
|
||||
# define HAVE_BCRYPT
|
||||
#endif
|
||||
|
||||
/* Unknown versions of Solaris */
|
||||
#if defined __SVR4 && defined __sun
|
||||
# define HAVE_SHA_CRYPT
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user