Use serialized values out of resolver instead of raw string values.
authorScott Cantor <cantor.2@osu.edu>
Fri, 25 Mar 2011 14:06:14 +0000 (15:06 +0100)
committerSam Hartman <hartmans@debian.org>
Fri, 25 Mar 2011 14:37:31 +0000 (10:37 -0400)
util_shib.cpp

index 04ef90f..471d0c0 100644 (file)
@@ -331,7 +331,7 @@ gss_eap_shib_attr_provider::getAttribute(const gss_buffer_t attr,
     else if (i >= nvalues)
         return false;
 
-    buf.value = (void *)shibAttr->getString(*more);
+    buf.value = (void *)shibAttr->getSerializedValues()[*more].c_str();
     buf.length = strlen((char *)buf.value);
 
     if (buf.length != 0) {