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