libcurl skips the certificate verification for a QUIC connection under certain conditions, when built to use wolfSSL. If told to use an unknown/bad cipher or curve, the error path accidentally skips the verification and returns OK, thus ignoring any certificate problems.
https://security.netapp.com/advisory/ntap-20240531-0001/
http://www.openwall.com/lists/oss-security/2024/03/27/2
http://seclists.org/fulldisclosure/2024/Jul/20