The ECDSA256 and ECDSA384 check conditions were switched. (cherry picked from commit 2a7b8d9795)
2a7b8d9795