diff options
-rw-r--r-- | ipa-client/ipa-getkeytab.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ipa-client/ipa-getkeytab.c b/ipa-client/ipa-getkeytab.c index 8c95c35f7..c68ed4ebb 100644 --- a/ipa-client/ipa-getkeytab.c +++ b/ipa-client/ipa-getkeytab.c @@ -93,6 +93,7 @@ static int get_enctypes(krb5_context krbctx, const char *str, if (!tmp) return 0; /* count */ + n = 0; p = t; while (p = strchr(t, ',')) { t = p+1; |