From 509e8df88f8ad8d7e299e6d01077b7014624de3c Mon Sep 17 00:00:00 2001 From: Raquel Medina Date: Fri, 15 Feb 2019 17:10:40 +0200 Subject: binding: identity: fix segfault & update to v3 forgerock binding calls On user login via nfc, the identity service segfaults on nfc event processing. Fix segfault, update forgerock compilation unit to use binding V3 call methods and review the identity agent baseline to remove unused code / tidy up. Bug-AGL: SPEC-2158 Change-Id: Ic87e630e9d028ba22937468375631b8e908011f8 Signed-off-by: Raquel Medina (cherry picked from commit 8f64868f9edd313eaee9a73abc3f79110da5f132) --- src/curl-wrap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/curl-wrap.c') diff --git a/src/curl-wrap.c b/src/curl-wrap.c index 9f010fb..626f321 100644 --- a/src/curl-wrap.c +++ b/src/curl-wrap.c @@ -69,15 +69,15 @@ int curl_wrap_perform(CURL *curl, char **result, size_t *size) buffer.size = 0; buffer.data = NULL; - /* Perform the request, res will get the return code */ + /* Perform the request, res will get the return code */ curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_callback); curl_easy_setopt(curl, CURLOPT_WRITEDATA, &buffer); - /* Perform the request, res will get the return code */ + /* Perform the request, res will get the return code */ code = curl_easy_perform(curl); rc = code == CURLE_OK; - /* Check for no errors */ + /* Check for no errors */ if (rc) { /* no error */ if (size) -- cgit 1.2.3-korg