Skip to content

Commit

Permalink
krb5: remove duplicate KRB5_ANON_MATCH_xxx defines
Browse files Browse the repository at this point in the history
Commit bdcd7d2 moved the KRB5_ANON_MATCH_xxx preprocessor symbols to krb5.h,
but did not remove the originals from krb5_locl.h. This commit removes them.

(cherry picked from commit dc791c8)

Change-Id: Ia24d4b1467c6547a9748325c9632d1df5add563c
  • Loading branch information
lhoward authored and jaltman committed May 19, 2019
1 parent 61c5d27 commit 58a28ca
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/krb5/krb5_locl.h
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,4 @@ struct krb5_pk_init_ctx_data {
# define ISPATHSEP(x) (x == '/')
#endif

/* _krb5_principal_is_anonymous() */
#define KRB5_ANON_MATCH_AUTHENTICATED 1 /* authenticated with anon flag */
#define KRB5_ANON_MATCH_UNAUTHENTICATED 2 /* anonymous PKINIT */
#define KRB5_ANON_MATCH_ANY ( KRB5_ANON_MATCH_AUTHENTICATED | KRB5_ANON_MATCH_UNAUTHENTICATED )

#endif /* __KRB5_LOCL_H__ */

0 comments on commit 58a28ca

Please sign in to comment.