Skip to content

Commit

Permalink
fixup: Clarified comment scope
Browse files Browse the repository at this point in the history
  • Loading branch information
rousskov authored Jan 15, 2020
1 parent e41ba6f commit 4845628
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/acl/external/kerberos_ldap_group/support_krb5.cc
Original file line number Diff line number Diff line change
Expand Up @@ -465,12 +465,12 @@ krb5_create_cache(char *domain, char *service_principal_name)
k5_error("Error while initialising TGT credentials", code);
goto loop_end;
}
/*
* Overwrite limitation of enctypes
*/

// overwrite limitation of enctypes
creds->keyblock.enctype = 0;
if (creds->keyblock.contents)
krb5_free_keyblock_contents(kparam.context, &creds->keyblock);

code = krb5_get_credentials(kparam.context, 0, kparam.cc[ccindex], creds, &tgt_creds);
if (code) {
k5_error("Error while getting tgt", code);
Expand Down

1 comment on commit 4845628

@huaraz
Copy link
Contributor

@huaraz huaraz commented on 4845628 Jan 15, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. Markus

Please sign in to comment.