From f5961dee215f77bc8b7151e05f22f5b51ff3a187 Mon Sep 17 00:00:00 2001 From: Miro Jurisic Date: Tue, 13 Apr 1999 17:08:37 +0000 Subject: [PATCH] Added gss_krb5_ccache_name and GSSAPILibrarySupportsCCacheName git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11353 dc483132-0cff-0310-8789-dd5450dbe970 --- src/mac/GSS.CFMGlue.h | 1 + src/mac/GSS.CFMglue.proto.h | 1 + src/mac/GSS.moreCFMglue.cin | 8 +++++++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/mac/GSS.CFMGlue.h b/src/mac/GSS.CFMGlue.h index c3365590d..a06b530bc 100644 --- a/src/mac/GSS.CFMGlue.h +++ b/src/mac/GSS.CFMGlue.h @@ -2,5 +2,6 @@ #define _GSS_CFMGLUE_H_ Boolean GSSAPILibraryIsPresent (); +Boolean GSSAPILibrarySupportsCCacheName (); #endif /* _GSS_CFMGLUE_H_ */ \ No newline at end of file diff --git a/src/mac/GSS.CFMglue.proto.h b/src/mac/GSS.CFMglue.proto.h index ba750b871..232b79c41 100644 --- a/src/mac/GSS.CFMglue.proto.h +++ b/src/mac/GSS.CFMglue.proto.h @@ -7,3 +7,4 @@ OM_uint32 gss_init_sec_context(OM_uint32 *, gss_cred_id_t, gss_ctx_id_t *, gss_n OM_uint32 gss_import_name(OM_uint32 *, gss_buffer_t, gss_OID, gss_name_t *); OM_uint32 gss_release_name(OM_uint32 *, gss_name_t *); OM_uint32 gss_wrap_size_limit(OM_uint32 *, gss_ctx_id_t, int, gss_qop_t, OM_uint32, OM_uint32 *); +OM_uint32 gss_krb5_ccache_name(OM_uint32 *minor_status, const char *name, const char **out_name); diff --git a/src/mac/GSS.moreCFMglue.cin b/src/mac/GSS.moreCFMglue.cin index e4491b72c..292e3d91a 100644 --- a/src/mac/GSS.moreCFMglue.cin +++ b/src/mac/GSS.moreCFMglue.cin @@ -4,4 +4,10 @@ Boolean GSSAPILibraryIsPresent () { Ptr symAddr; return (Find_Symbol (&symAddr, "\pgss_init_sec_context", gss_init_sec_context_ProcInfo)) == noErr; -} \ No newline at end of file +} + +Boolean GSSAPILibrarySupportsCCacheName () +{ + Ptr symAddr; + return (Find_Symbol (&symAddr, "\pgss_krb5_ccache_name", gss_krb5_ccache_name_ProcInfo)) == noErr; +} -- 2.26.2