/*
- * Copyright (c) 2010, JANET(UK)
+ * Copyright (c) 2011, JANET(UK)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* SUCH DAMAGE.
*/
+/*
+ * Return supported name OID types.
+ */
+
#include "gssapiP_eap.h"
OM_uint32
GSS_C_NT_COMPOSITE_EXPORT,
#endif
GSS_EAP_NT_PRINCIPAL_NAME,
+ GSS_C_NT_ANONYMOUS,
};
size_t i;
if (!gssEapIsMechanismOid(mechanism)) {
- *minor = 0;
+ *minor = GSSEAP_WRONG_MECH;
return GSS_S_BAD_MECH;
}