xref: /illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/privacy_allowed.c (revision b0bb0d63258be430b0e22afcb1581974bd7b568e)
1 /*
2  * Copyright (c) 1998 by Sun Microsystems, Inc.
3  * All rights reserved.
4  */
5 
6 #include "k5-int.h"
7 #include "auth_con.h"
8 
9 krb5_boolean
10 krb5_privacy_allowed(void)
11 {
12 #ifdef	KRB5_NO_PRIVACY
13 	return (FALSE);
14 #else
15 	return (TRUE);
16 #endif
17 }
18