fix
authorSchanzenbach, Martin <mschanzenbach@posteo.de>
Wed, 20 Feb 2019 16:19:57 +0000 (17:19 +0100)
committerSchanzenbach, Martin <mschanzenbach@posteo.de>
Wed, 20 Feb 2019 16:19:57 +0000 (17:19 +0100)
src/rest-plugins/plugin_rest_openid_connect.c

index 47af75bcc949c20ca28343de129da6b704f6a174..e755f079b354e05624da0f00560525051d8d0f8b 100644 (file)
@@ -937,7 +937,7 @@ oidc_ticket_issue_cb (void* cls,
   code_base64_final_string = base64_encode (code_json_string);
   if ( (NULL != handle->redirect_prefix) &&
        (NULL != handle->redirect_suffix) &&
-       (NULL != handle->tls) )
+       (NULL != handle->tld) )
   {
 
     GNUNET_asprintf (&redirect_uri, "%s.%s/%s?%s=%s&state=%s",
@@ -1109,7 +1109,7 @@ build_redirect (void *cls)
   {
     if ( (NULL != handle->redirect_prefix) &&
          (NULL != handle->redirect_suffix) &&
-         (NULL != handle->tls) )
+         (NULL != handle->tld) )
     {
       GNUNET_asprintf (&redirect_uri, "%s.%s/%s?error=%s&error_description=%s&state=%s",
                        handle->redirect_prefix,