summaryrefslogtreecommitdiff
path: root/usr/src/lib/libgss/g_imp_sec_context.c
diff options
context:
space:
mode:
authorGlenn Barry <Glenn.Barry@oracle.com>2010-08-16 17:01:32 -0700
committerGlenn Barry <Glenn.Barry@oracle.com>2010-08-16 17:01:32 -0700
commit5e01956f3000408c2a2c5a08c8d0acf2c2a9d8ee (patch)
tree90bd2cd6b1b331d8cb4c67b04d90d921baf654fc /usr/src/lib/libgss/g_imp_sec_context.c
parent8393544efeffe8042bf5273c148010b32fa827e2 (diff)
downloadillumos-gate-5e01956f3000408c2a2c5a08c8d0acf2c2a9d8ee.tar.gz
PSARC 2010/135 Kerberos Diagnostic Enhancements (umbrella case)
6835328 Error messages generated by applications using RPCSEC_GSS are too vague
Diffstat (limited to 'usr/src/lib/libgss/g_imp_sec_context.c')
-rw-r--r--usr/src/lib/libgss/g_imp_sec_context.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr/src/lib/libgss/g_imp_sec_context.c b/usr/src/lib/libgss/g_imp_sec_context.c
index db3544653c..e7ac27fc56 100644
--- a/usr/src/lib/libgss/g_imp_sec_context.c
+++ b/usr/src/lib/libgss/g_imp_sec_context.c
@@ -19,15 +19,17 @@
* CDDL HEADER END
*/
/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
*/
/*
* glue routine gss_export_sec_context
*/
+#ifndef LEAN_CLIENT
+
#include <mechglueP.h>
+#include "gssapiP_generic.h"
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
@@ -146,6 +148,7 @@ gss_ctx_id_t *context_handle;
*context_handle = (gss_ctx_id_t)ctx;
return (GSS_S_COMPLETE);
}
+ map_error(minor_status, mech);
error_out:
if (ctx) {
@@ -158,3 +161,4 @@ error_out:
}
return (status);
}
+#endif /* LEAN_CLIENT */