Merge branch 'milestone/monitoring' of https://github.com/painless-security/trust...
authorJennifer Richards <jennifer@painless-security.com>
Fri, 1 Jun 2018 21:04:28 +0000 (17:04 -0400)
committerJennifer Richards <jennifer@painless-security.com>
Fri, 1 Jun 2018 21:04:28 +0000 (17:04 -0400)
tid/example/tidc_main.c

index 8ae56ca..4ca3780 100644 (file)
@@ -57,7 +57,7 @@ static void tidc_resp_handler (TIDC_INSTANCE * tidc,
   unsigned char *c_keybuf = NULL;
   int i;
   struct timeval tv;
-  struct tidc_resp_cookie *data = talloc_get_type_abort(cookie, struct tidc_resp_cookie);
+  struct tidc_resp_cookie *data = (struct tidc_resp_cookie *) cookie;
 
   printf ("Response received! Realm = %s, Community = %s.\n", resp->realm->buf, resp->comm->buf);