crypt option has been deprectated

This commit is contained in:
Jamie Cameron
2021-02-19 10:41:44 -08:00
parent e380b72282
commit 4e71cf8fc7

View File

@@ -84,7 +84,9 @@ if ($v >= 7.3) {
}
# Authentication type
foreach $a ('password', 'crypt', ($v >= 7.2 ? ( 'md5' ) : ( )),
foreach $a ('password',
($v < 8.4 ? ( 'crypt' ) : ( )),
($v >= 7.2 ? ( 'md5' ) : ( )),
'trust', 'reject', 'ident', 'krb4', 'krb5',
($v >= 7.3 ? ( 'pam' ) : ( )),
($v >= 9.0 ? ( 'peer' ) : ( )) ) {