New attribute provider SPI
[mech_eap.orig] / duplicate_name.c
index ad45a28..fc54f7d 100644 (file)
@@ -63,9 +63,8 @@ gss_duplicate_name(OM_uint32 *minor,
         goto cleanup;
     }
 
-    if (input_name->samlCtx != NULL) {
-        major = samlDuplicateAttrContext(minor, input_name->samlCtx,
-                                         &name->samlCtx);
+    if (input_name->attrCtx != NULL) {
+        major = gssEapDuplicateAttrContext(minor, input_name, name);
         if (GSS_ERROR(major))
             goto cleanup;
     }