From 48f6c541c2b8084edf10aae4104025aef6717dce Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Thu, 14 May 2009 21:04:57 +0000 Subject: [PATCH] Add IOV_SHIM_EXERCISE_WRAP and IOV_SHIM_EXERCISE_UNWRAP conditionals to allow finer-grained testing. ticket: 6487 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22352 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/krb5/gssapi_krb5.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/lib/gssapi/krb5/gssapi_krb5.c b/src/lib/gssapi/krb5/gssapi_krb5.c index 6e1d61869..a20e59dfb 100644 --- a/src/lib/gssapi/krb5/gssapi_krb5.c +++ b/src/lib/gssapi/krb5/gssapi_krb5.c @@ -640,11 +640,14 @@ static struct gss_config krb5_mechanism = { krb5_gss_context_time, krb5_gss_get_mic, krb5_gss_verify_mic, -#ifdef IOV_SHIM_EXERCISE - NULL, +#if defined(IOV_SHIM_EXERCISE_WRAP) || defined(IOV_SHIM_EXERCISE) NULL, #else krb5_gss_wrap, +#endif +#if defined(IOV_SHIM_EXERCISE_UNWRAP) || defined(IOV_SHIM_EXERCISE) + NULL, +#else krb5_gss_unwrap, #endif krb5_gss_display_status, -- 2.26.2