krb5_principal_is_anonymous
_krb5_principal_is_anonymous() is used outside lib/krb5 and therefore it needs to be properly exported and its flag macros need to be in a public header: krb5.h not krb5_locl.h. Including krb5_locl.h from within kuser_locl.h for instance results in build failures on Solaris. This change renames the function and makes it part of the public api. Change-Id: I130d1698b10bdbd150b95e8c7d32dfc362889ce6
This commit is contained in:

committed by
Luke Howard

parent
c3e2c048c3
commit
bdcd7d2f3d
@@ -953,6 +953,14 @@ typedef struct krb5_name_canon_iterator_data *krb5_name_canon_iterator;
|
||||
#define KRB5_GIC_OPT_PKINIT_BTMM 8 /* reserved by Apple */
|
||||
#define KRB5_GIC_OPT_PKINIT_NO_KDC_ANCHOR 16 /* do not authenticate KDC */
|
||||
|
||||
/*
|
||||
* _krb5_principal_is_anonymous() flags
|
||||
*/
|
||||
#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 )
|
||||
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
|
Reference in New Issue
Block a user