Update name OIDs
authorSam Hartman <hartmans@debian.org>
Fri, 14 Sep 2012 17:53:34 +0000 (13:53 -0400)
committerSam Hartman <hartmans@debian.org>
Fri, 14 Sep 2012 18:48:15 +0000 (14:48 -0400)
Add comment on where OIDs come from and update oid for EAP name type.

mech_eap/util_mech.c
mech_eap/util_name.c

index 86f63f9..3e65c1e 100644 (file)
 #include "gssapiP_eap.h"
 
 /*
- * 1.3.6.1.4.1.5322(padl)
+ * Many OIDs are taken from 1.3.6.1.4.1.5322(padl)
  *      gssEap(22)
- *       mechanisms(1)
+ *       mechanisms(1) (no longer used)
  *        eap-aes128-cts-hmac-sha1-96(17)
  *        eap-aes256-cts-hmac-sha1-96(18)
- *       nameTypes(2)
+ *       nameTypes(2) (no longer used)
  *       apiExtensions(3)
  *        inquireSecContextByOid(1)
  *        inquireCredByOid(2)
  *        setSecContextOption(3)
  *        setCredOption(4)
  *        mechInvoke(5)
+ *        Mechanisms and name types are now taken from
+ *      http://www.iana.org/assignments/smi-numbers . See Prefix:
+ *      iso.org.dod.internet.security.mechanisms.abfab (1.3.6.1.5.5.15)
  */
 
 /*
index 6045724..0b9c23b 100644 (file)
@@ -61,7 +61,7 @@
 
 static gss_OID_desc gssEapNtEapName = {
     /* 1.3.6.1.4.1.5322.22.2.1  */
-    10, "\x2B\x06\x01\x04\x01\xA9\x4A\x16\x02\x01"
+    8, "\x2B\x06\x01\x05\x05\x0f\x02\x01"
 };
 
 gss_OID GSS_EAP_NT_EAP_NAME = &gssEapNtEapName;