This will simplify the following commit.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12907
Signed-off-by: Stefan Metzmacher <metze@samba.org>
struct gssapi_creds_container *gcc;
struct ccache_container *ccache;
#ifdef HAVE_GSS_KRB5_CRED_NO_CI_FLAGS_X
- gss_OID oid = discard_const(GSS_KRB5_CRED_NO_CI_FLAGS_X);
+ gss_OID no_ci_flags_oid = discard_const(GSS_KRB5_CRED_NO_CI_FLAGS_X);
#define __TMP_NEED_EMPTY_BUFFFER 1
#endif /* HAVE_GSS_KRB5_CRED_NO_CI_FLAGS_X */
#ifdef __TMP_NEED_EMPTY_BUFFFER
* http://krbdev.mit.edu/rt/Ticket/Display.html?id=6938
*/
maj_stat = gss_set_cred_option(&min_stat, &gcc->creds,
- oid,
+ no_ci_flags_oid,
&empty_buffer);
if (maj_stat) {
talloc_free(gcc);