RECLAIM: Fix mem corruption
authorSchanzenbach, Martin <mschanzenbach@posteo.de>
Tue, 4 Jun 2019 11:48:09 +0000 (13:48 +0200)
committerSchanzenbach, Martin <mschanzenbach@posteo.de>
Tue, 4 Jun 2019 11:48:09 +0000 (13:48 +0200)
src/reclaim/plugin_rest_openid_connect.c

index e8561aed4942bc95387d2fcd3767feb848ef8fa7..912350248687955bef5ea58a464c06674ed218eb 100644 (file)
@@ -1395,9 +1395,6 @@ authorize_endpoint (struct GNUNET_REST_RequestHandle *con_handle,
     return;
   }
 
-  handle->ego_entry = handle->ego_head;
-  handle->priv_key =
-    *GNUNET_IDENTITY_ego_get_private_key (handle->ego_head->ego);
   // If we know this identity, translated the corresponding TLD
   // TODO: We might want to have a reverse lookup functionality for TLDs?
   for (tmp_ego = handle->ego_head; NULL != tmp_ego; tmp_ego = tmp_ego->next)