From 2f4ca1347fb334fd8b5ae45970e0eeb47b95bf53 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Wed, 19 Aug 2009 16:53:03 -0700 Subject: [PATCH] Don't include krb5_copy_context in a small heimdal --- lib/krb5/context.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/krb5/context.c b/lib/krb5/context.c index 9ece38e14..0eba7f9f8 100644 --- a/lib/krb5/context.c +++ b/lib/krb5/context.c @@ -328,8 +328,10 @@ out: return ret; } +#ifndef HEIMDAL_SMALLER + /** - * Make a copy for the Kerberos 5 context, allocated krb5_contex shoud + * Make a copy for the Kerberos 5 context, the new krb5_context shoud * be freed with krb5_free_context(). * * @param context the Kerberos context to copy @@ -421,6 +423,8 @@ krb5_copy_context(krb5_context context, krb5_context *out) return ret; } +#endif + /** * Frees the krb5_context allocated by krb5_init_context(). *