fn verify_ec_key_nid( ec_key: &ConstPointer<EC_KEY>, expected_curve_nid: i32, ) -> Result<(), KeyRejected>