mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Fix --stfp "mac-algos=..." overwrites cipher algorithms (#19643)
Setting MAC algorithms overwrites cipher algorithms. Followup to #19636
This commit is contained in:
@@ -196,7 +196,7 @@ func startSFTPServer(args []string) {
|
||||
case "cipher-algos":
|
||||
allowCiphers = filterAlgos(arg, strings.Split(tokens[1], ","), supportedCiphers)
|
||||
case "mac-algos":
|
||||
allowCiphers = filterAlgos(arg, strings.Split(tokens[1], ","), supportedMACs)
|
||||
allowMACs = filterAlgos(arg, strings.Split(tokens[1], ","), supportedMACs)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user