CVE-2022-3437 third_party/heimdal: Remove __func__ compatibility workaround
commitcd48f2da59f48caa20e7ac652c958182671e804b
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 12 Oct 2022 00:56:08 +0000 (12 13:56 +1300)
committerJule Anger <janger@samba.org>
Tue, 25 Oct 2022 10:31:33 +0000 (25 10:31 +0000)
treea1c8fb99f7fddc328dbbfd1adfea882debe9ed5b
parentce7c418ca4f8f82e61a9a02a6589ab1c4df51d63
CVE-2022-3437 third_party/heimdal: Remove __func__ compatibility workaround

As described by the C standard, __func__ is a variable, not a macro.
Hence this #ifndef check does not work as intended, and only serves to
unconditionally disable __func__. A nonoperating __func__ prevents
cmocka operating correctly, so remove this definition.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15134

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
third_party/heimdal/lib/krb5/krb5_locl.h