summaryrefslogtreecommitdiffstats
path: root/source/libsmb/clikrb5.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-01-21 13:33:31 +0000
committerJeremy Allison <jra@samba.org>2003-01-21 13:33:31 +0000
commit0c98f779f05431ac4d298c9f021fca85d16aebae (patch)
tree870cc7d13d826fb59e0068a6bf266aadf72a971f /source/libsmb/clikrb5.c
parenta7ee6ed64500a0d949849da6996b7dc837518f00 (diff)
downloadsamba-0c98f779f05431ac4d298c9f021fca85d16aebae.tar.gz
samba-0c98f779f05431ac4d298c9f021fca85d16aebae.tar.xz
samba-0c98f779f05431ac4d298c9f021fca85d16aebae.zip
Fixup proto generation to not include krb5 specific symbols
if no kerberos selected. Noticed by Metze. Jeremy.
Diffstat (limited to 'source/libsmb/clikrb5.c')
-rw-r--r--source/libsmb/clikrb5.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/libsmb/clikrb5.c b/source/libsmb/clikrb5.c
index b56de627306..2047efd7040 100644
--- a/source/libsmb/clikrb5.c
+++ b/source/libsmb/clikrb5.c
@@ -27,7 +27,7 @@
/*
* This function is not in the Heimdal mainline.
*/
-krb5_error_code krb5_set_real_time(krb5_context context, int32_t seconds, int32_t microseconds)
+ krb5_error_code krb5_set_real_time(krb5_context context, int32_t seconds, int32_t microseconds)
{
krb5_error_code ret;
int32_t sec, usec;
@@ -44,7 +44,7 @@ krb5_error_code krb5_set_real_time(krb5_context context, int32_t seconds, int32_
#endif
#if defined(HAVE_KRB5_SET_DEFAULT_IN_TKT_ETYPES) && !defined(HAVE_KRB5_SET_DEFAULT_TGS_KTYPES)
-krb5_error_code krb5_set_default_tgs_ktypes(krb5_context ctx, const krb5_enctype *enc)
+ krb5_error_code krb5_set_default_tgs_ktypes(krb5_context ctx, const krb5_enctype *enc)
{
return krb5_set_default_in_tkt_etypes(ctx, enc);
}
@@ -52,7 +52,7 @@ krb5_error_code krb5_set_default_tgs_ktypes(krb5_context ctx, const krb5_enctype
#if defined(HAVE_ADDR_TYPE_IN_KRB5_ADDRESS)
/* HEIMDAL */
-void setup_kaddr( krb5_address *pkaddr, struct sockaddr *paddr)
+ void setup_kaddr( krb5_address *pkaddr, struct sockaddr *paddr)
{
pkaddr->addr_type = KRB5_ADDRESS_INET;
pkaddr->address.length = sizeof(((struct sockaddr_in *)paddr)->sin_addr);
@@ -60,14 +60,14 @@ void setup_kaddr( krb5_address *pkaddr, struct sockaddr *paddr)
}
#elif defined(HAVE_ADDRTYPE_IN_KRB5_ADDRESS)
/* MIT */
-void setup_kaddr( krb5_address *pkaddr, struct sockaddr *paddr)
+ void setup_kaddr( krb5_address *pkaddr, struct sockaddr *paddr)
{
pkaddr->addrtype = ADDRTYPE_INET;
pkaddr->length = sizeof(((struct sockaddr_in *)paddr)->sin_addr);
pkaddr->contents = (char *)&(((struct sockaddr_in *)paddr)->sin_addr);
}
#else
-__ERROR__XX__UNKNOWN_ADDRTYPE
+ __ERROR__XX__UNKNOWN_ADDRTYPE
#endif
/*