diff options
author | nectar <nectar@FreeBSD.org> | 2002-08-30 21:23:27 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2002-08-30 21:23:27 +0000 |
commit | a77dba08ca7d8ad2f2dcd653974ac66df78cfa49 (patch) | |
tree | 6015f89700252fb05eb8fa267c46dba41913e9d8 /crypto/heimdal/lib/krb5/keytab_any.c | |
parent | 69a91bec14ec3ad49d1c8a82c40a796755f9e4a3 (diff) | |
download | FreeBSD-src-a77dba08ca7d8ad2f2dcd653974ac66df78cfa49.zip FreeBSD-src-a77dba08ca7d8ad2f2dcd653974ac66df78cfa49.tar.gz |
Import of Heimdal Kerberos from KTH repository circa 2002/08/29.
Diffstat (limited to 'crypto/heimdal/lib/krb5/keytab_any.c')
-rw-r--r-- | crypto/heimdal/lib/krb5/keytab_any.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/heimdal/lib/krb5/keytab_any.c b/crypto/heimdal/lib/krb5/keytab_any.c index 5c6dde8..268c8df 100644 --- a/crypto/heimdal/lib/krb5/keytab_any.c +++ b/crypto/heimdal/lib/krb5/keytab_any.c @@ -33,7 +33,7 @@ #include "krb5_locl.h" -RCSID("$Id: keytab_any.c,v 1.5 2002/02/11 14:05:37 joda Exp $"); +RCSID("$Id: keytab_any.c,v 1.6 2002/04/18 14:02:11 joda Exp $"); struct any_data { krb5_keytab kt; @@ -160,7 +160,7 @@ any_next_entry (krb5_context context, ret = krb5_kt_next_entry(context, ed->a->kt, entry, &ed->cursor); if (ret == 0) return 0; - else if (ret == KRB5_CC_END) { + else if (ret == KRB5_KT_END) { ret2 = krb5_kt_end_seq_get (context, ed->a->kt, &ed->cursor); if (ret2) return ret2; @@ -171,11 +171,11 @@ any_next_entry (krb5_context context, } if (ed->a == NULL) { krb5_clear_error_string (context); - return KRB5_CC_END; + return KRB5_KT_END; } } else return ret; - } while (ret == KRB5_CC_END); + } while (ret == KRB5_KT_END); return ret; } |