projects
/
mech_eap.orig
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
comment out dumping code
[mech_eap.orig]
/
inquire_name.c
diff --git
a/inquire_name.c
b/inquire_name.c
index
586e862
..
2a4e0e3
100644
(file)
--- a/
inquire_name.c
+++ b/
inquire_name.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 201
0
, JANET(UK)
+ * Copyright (c) 201
1
, JANET(UK)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@
-30,6
+30,10
@@
* SUCH DAMAGE.
*/
* SUCH DAMAGE.
*/
+/*
+ * Enumerate name attributes.
+ */
+
#include "gssapiP_eap.h"
OM_uint32 gss_inquire_name(OM_uint32 *minor,
#include "gssapiP_eap.h"
OM_uint32 gss_inquire_name(OM_uint32 *minor,
@@
-40,10
+44,12
@@
OM_uint32 gss_inquire_name(OM_uint32 *minor,
{
OM_uint32 major, tmpMinor;
{
OM_uint32 major, tmpMinor;
+ *minor = 0;
+
if (name_is_MN != NULL)
if (name_is_MN != NULL)
- *name_is_MN =
1
;
+ *name_is_MN =
0
;
if (MN_mech != NULL)
if (MN_mech != NULL)
- *MN_mech = GSS_
EAP_MECHANISM
;
+ *MN_mech = GSS_
C_NO_OID
;
if (attrs != NULL)
*attrs = GSS_C_NO_BUFFER_SET;
if (attrs != NULL)
*attrs = GSS_C_NO_BUFFER_SET;