fix a compile error
authorLuke Howard <lukeh@padl.com>
Sat, 18 Sep 2010 11:47:24 +0000 (13:47 +0200)
committerLuke Howard <lukeh@padl.com>
Sat, 18 Sep 2010 11:47:24 +0000 (13:47 +0200)
mech_eap/util_shib.cpp

index f29e521..32c066b 100644 (file)
@@ -309,6 +309,9 @@ gss_eap_shib_attr_source::getAttribute(const gss_buffer_t attr,
     buf.length = strlen((char *)buf.value);
 
     duplicateBuffer(buf, value);
+
+    if (display_value != NULL)
+        duplicateBuffer(buf, display_value);
  
     *authenticated = TRUE;
     *complete = FALSE;