diff options
author | Marco d'Itri <md@linux.it> | 2019-06-17 16:26:15 +0200 |
---|---|---|
committer | Marco d'Itri <md@linux.it> | 2019-06-23 15:40:12 +0200 |
commit | 2b78ca68dfc0565d5f4c873f038f38d0048f86a7 (patch) | |
tree | eefcb8db0fce46ad2b279950b75b0e282f76fead | |
parent | 830c3e3a7c1379d0fac48911611c2f607d1fe4a7 (diff) | |
download | whois-2b78ca68dfc0565d5f4c873f038f38d0048f86a7.tar.gz |
mkpasswd: support the "gost-yescrypt" hash
-rw-r--r-- | mkpasswd.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -98,6 +98,9 @@ static const struct crypt_method methods[] = { { "md5", "$1$", 8, 8, 0, NULL }, #if defined XCRYPT_VERSION_NUM { "yescrypt", "$y$", 0, 0, 0, "Yescrypt" }, +#if XCRYPT_VERSION_NUM >= ((4 << 16) | 4) + { "gost-yescrypt", "$gy$", 0, 0, 0, "GOST Yescrypt" }, +#endif { "scrypt", "$7$", 0, 0, 0, "scrypt" }, #endif #ifdef HAVE_BCRYPT_OBSOLETE |