projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support GSS_C_NT_COMPOSITE_EXPORT
[mech_eap.git]
/
inquire_names_for_mech.c
diff --git
a/inquire_names_for_mech.c
b/inquire_names_for_mech.c
index
fe3c64e
..
e761739
100644
(file)
--- a/
inquire_names_for_mech.c
+++ b/
inquire_names_for_mech.c
@@
-60,6
+60,12
@@
gss_inquire_names_for_mech(OM_uint32 *minor,
if (GSS_ERROR(major))
goto cleanup;
if (GSS_ERROR(major))
goto cleanup;
+#ifdef HAVE_GSS_C_NT_COMPOSITE_EXPORT
+ major = gss_add_oid_set_member(minor, GSS_C_NT_COMPOSITE_EXPORT, name_types);
+ if (GSS_ERROR(major))
+ goto cleanup;
+#endif
+
major = gss_add_oid_set_member(minor, GSS_EAP_NT_PRINCIPAL_NAME, name_types);
if (GSS_ERROR(major))
goto cleanup;
major = gss_add_oid_set_member(minor, GSS_EAP_NT_PRINCIPAL_NAME, name_types);
if (GSS_ERROR(major))
goto cleanup;