Add IOV_SHIM_EXERCISE_WRAP and IOV_SHIM_EXERCISE_UNWRAP conditionals
authorTom Yu <tlyu@mit.edu>
Thu, 14 May 2009 21:04:57 +0000 (21:04 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 14 May 2009 21:04:57 +0000 (21:04 +0000)
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

index 6e1d618694982d270faff93cf056fe5b542d94c0..a20e59dfb4c4f7f7441e79b3052fcc8d012ea22c 100644 (file)
@@ -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,