1*7c478bd9Sstevel@tonic-gate /*
2*7c478bd9Sstevel@tonic-gate  * Copyright (c) 1998 by Sun Microsystems, Inc.
3*7c478bd9Sstevel@tonic-gate  * All rights reserved.
4*7c478bd9Sstevel@tonic-gate  */
5*7c478bd9Sstevel@tonic-gate 
6*7c478bd9Sstevel@tonic-gate #include "k5-int.h"
7*7c478bd9Sstevel@tonic-gate #include "auth_con.h"
8*7c478bd9Sstevel@tonic-gate 
9*7c478bd9Sstevel@tonic-gate krb5_boolean
krb5_privacy_allowed(void)10*7c478bd9Sstevel@tonic-gate krb5_privacy_allowed(void)
11*7c478bd9Sstevel@tonic-gate {
12*7c478bd9Sstevel@tonic-gate #ifdef	KRB5_NO_PRIVACY
13*7c478bd9Sstevel@tonic-gate 	return (FALSE);
14*7c478bd9Sstevel@tonic-gate #else
15*7c478bd9Sstevel@tonic-gate 	return (TRUE);
16*7c478bd9Sstevel@tonic-gate #endif
17*7c478bd9Sstevel@tonic-gate }
18