fips: fix order of elliptic curves (#15141)
fips: fix order of elliptic curves (#15141)

This commit fixes the order of elliptic curves.
As documented by https://pkg.go.dev/crypto/tls#Config
```
// CurvePreferences contains the elliptic curves that will be used in
// an ECDHE handshake, in preference order. If empty, the default will
// be used. The client will use the first preference as the type for
// its key share in TLS 1.3. This may change in the future.
```

In general, we should prefer `X25519` over the NIST curves.

Signed-off-by: Andreas Auernhammer <c22b5f9178342609428d6f51b2c5af4c0bde6a42@aead.dev>
vadmeste/minio,minio/minio,vadmeste/minio,donatello/minio,balamurugana/minio,balamurugana/minio,donatello/minio,krisis/minio,minio/minio,krisis/minio