diff options
author | Marco d'Itri <md@linux.it> | 2018-09-11 01:21:52 +0200 |
---|---|---|
committer | Marco d'Itri <md@linux.it> | 2018-09-20 00:18:06 +0200 |
commit | 3197cb7db4d5ce13f1d011cfa6f9e42164d9b091 (patch) | |
tree | 409ffa5024733de65627223a31ea50366c2c8e40 /config.h | |
parent | 61f4e5d64c9ad64ff6b70bb2bf0afb3165bb9c51 (diff) | |
download | whois-3197cb7db4d5ce13f1d011cfa6f9e42164d9b091.tar.gz |
mkpasswd: support letting crypt_gensalt decide the prefix
If crypt_gensalt (as implemented by Solaris and modern versions of
libxcrypt) is passed a NULL prefix then it will decide by itself which
algorithm should be used by default.
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -56,6 +56,7 @@ #if defined __SVR4 && defined __sun # define HAVE_SHA_CRYPT # define HAVE_SOLARIS_CRYPT_GENSALT +# define CRYPT_GENSALT_IMPLEMENTS_DEFAULT_PREFIX #endif /* FIXME: which systems lack this? */ |