auth/credentials_krb5: rename oid to no_ci_flags_oid
authorStefan Metzmacher <metze@samba.org>
Thu, 22 Aug 2019 17:24:24 +0000 (17:24 +0000)
committerStefan Metzmacher <metze@samba.org>
Tue, 29 Oct 2019 13:34:08 +0000 (14:34 +0100)
This will simplify the following commit.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
auth/credentials/credentials_krb5.c

index e19e5d0018d95c4c0d628b16103b9606709428b9..76b02463e91ae25afb2a861d280ebf23b4d6dc5f 100644 (file)
@@ -835,7 +835,7 @@ _PUBLIC_ int cli_credentials_get_client_gss_creds(struct cli_credentials *cred,
        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
@@ -971,7 +971,7 @@ _PUBLIC_ int cli_credentials_get_client_gss_creds(struct cli_credentials *cred,
         * 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);