Set mech_type explicity; messages around import_name
authorMark Donnelly <mark@painless-security.com>
Sun, 22 Dec 2013 19:13:31 +0000 (14:13 -0500)
committerMark Donnelly <mark@painless-security.com>
Sun, 22 Dec 2013 19:13:31 +0000 (14:13 -0500)
gssapi_utils/gssapi_utils.c
xpi/lib/main.js

index 3eed4c3..8d43643 100644 (file)
@@ -57,7 +57,7 @@ gss_construct_sec_context(
            mech_type->length,
            (char *)(mech_type->elements));
   }
-  
+  mech_type = GSS_C_NO_OID;
   
   /* Main processing */
   
index 1412ae0..4769e2f 100644 (file)
@@ -103,6 +103,7 @@ function str_to_oid(oid_str)
 
 function import_name(name)
 {
+    myDump("Entering import_name(" + name + ")");
     var name_buffer     = generate_gss_buffer(name);
     var input_name_type = new gss_OID();
     var oid             = str_to_oid("1.2.840.113554.1.2.1.4");
@@ -117,6 +118,7 @@ function import_name(name)
        oid.address(),
        output_name_ptr.address()
     );
+    myDump("Finished the gss_import_name: " + major + "/" + minor);
     
     return(output_name_ptr);
 }