From 331b920fdcee61419901e274da6f1e5a359084c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 7 Apr 2008 11:48:51 +0000 Subject: [PATCH] Add version number to krb5_cc_ops git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22845 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/Makefile.am | 2 +- lib/krb5/acache.c | 1 + lib/krb5/fcache.c | 1 + lib/krb5/kcm.c | 1 + lib/krb5/mcache.c | 1 + lib/krb5/scache.c | 1 + 6 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/krb5/Makefile.am b/lib/krb5/Makefile.am index bcce6b9d4..ace38d225 100644 --- a/lib/krb5/Makefile.am +++ b/lib/krb5/Makefile.am @@ -179,7 +179,7 @@ dist_libkrb5_la_SOURCES = \ nodist_libkrb5_la_SOURCES = \ $(ERR_FILES) -libkrb5_la_LDFLAGS = -version-info 24:0:0 +libkrb5_la_LDFLAGS = -version-info 25:0:0 if versionscript libkrb5_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map diff --git a/lib/krb5/acache.c b/lib/krb5/acache.c index 38c10fb1d..855624425 100644 --- a/lib/krb5/acache.c +++ b/lib/krb5/acache.c @@ -1000,6 +1000,7 @@ acc_set_default(krb5_context context, krb5_ccache id) */ const krb5_cc_ops krb5_acc_ops = { + KRB5_CC_OPS_VERSION, "API", acc_get_name, acc_resolve, diff --git a/lib/krb5/fcache.c b/lib/krb5/fcache.c index f3f132a6b..d615259d1 100644 --- a/lib/krb5/fcache.c +++ b/lib/krb5/fcache.c @@ -910,6 +910,7 @@ fcc_default_name(krb5_context context, char **str) */ const krb5_cc_ops krb5_fcc_ops = { + KRB5_CC_OPS_VERSION, "FILE", fcc_get_name, fcc_resolve, diff --git a/lib/krb5/kcm.c b/lib/krb5/kcm.c index 79279cb25..cdfff9345 100644 --- a/lib/krb5/kcm.c +++ b/lib/krb5/kcm.c @@ -874,6 +874,7 @@ kcm_default_name(krb5_context context, char **str) */ const krb5_cc_ops krb5_kcm_ops = { + KRB5_CC_OPS_VERSION, "KCM", kcm_get_name, kcm_resolve, diff --git a/lib/krb5/mcache.c b/lib/krb5/mcache.c index f949397a5..a0f8b8a04 100644 --- a/lib/krb5/mcache.c +++ b/lib/krb5/mcache.c @@ -453,6 +453,7 @@ mcc_default_name(krb5_context context, char **str) */ const krb5_cc_ops krb5_mcc_ops = { + KRB5_CC_OPS_VERSION, "MEMORY", mcc_get_name, mcc_resolve, diff --git a/lib/krb5/scache.c b/lib/krb5/scache.c index 204f5560a..822cee6c7 100644 --- a/lib/krb5/scache.c +++ b/lib/krb5/scache.c @@ -1360,6 +1360,7 @@ scc_set_default(krb5_context context, krb5_ccache id) */ const krb5_cc_ops krb5_scc_ops = { + KRB5_CC_OPS_VERSION, "SDB", scc_get_name, scc_resolve, -- 2.11.4.GIT