diff options
Diffstat (limited to 'src/identity-provider/identity_provider_api.c')
-rw-r--r-- | src/identity-provider/identity_provider_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/identity-provider/identity_provider_api.c b/src/identity-provider/identity_provider_api.c index 53081ae05..d0413c748 100644 --- a/src/identity-provider/identity_provider_api.c +++ b/src/identity-provider/identity_provider_api.c | |||
@@ -346,7 +346,7 @@ send_next_message (void *cls, | |||
346 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 346 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
347 | "Sending message of type %d to identity provider service\n", | 347 | "Sending message of type %d to identity provider service\n", |
348 | ntohs (op->msg->type)); | 348 | ntohs (op->msg->type)); |
349 | memcpy (buf, op->msg, ret); | 349 | GNUNET_memcpy (buf, op->msg, ret); |
350 | if ( (NULL == op->iss_cb) && | 350 | if ( (NULL == op->iss_cb) && |
351 | (NULL == op->ex_cb) ) | 351 | (NULL == op->ex_cb) ) |
352 | { | 352 | { |
@@ -474,7 +474,7 @@ GNUNET_IDENTITY_PROVIDER_issue_token (struct GNUNET_IDENTITY_PROVIDER_Handle *id | |||
474 | im->aud_key = *aud_key; | 474 | im->aud_key = *aud_key; |
475 | im->nonce = htonl (nonce); | 475 | im->nonce = htonl (nonce); |
476 | im->expiration = GNUNET_TIME_absolute_hton (expiration); | 476 | im->expiration = GNUNET_TIME_absolute_hton (expiration); |
477 | memcpy (&im[1], scopes, slen); | 477 | GNUNET_memcpy (&im[1], scopes, slen); |
478 | op->msg = &im->header; | 478 | op->msg = &im->header; |
479 | GNUNET_CONTAINER_DLL_insert_tail (id->op_head, | 479 | GNUNET_CONTAINER_DLL_insert_tail (id->op_head, |
480 | id->op_tail, | 480 | id->op_tail, |
@@ -526,7 +526,7 @@ GNUNET_IDENTITY_PROVIDER_exchange_ticket (struct GNUNET_IDENTITY_PROVIDER_Handle | |||
526 | em->header.size = htons (sizeof (struct GNUNET_IDENTITY_PROVIDER_ExchangeMessage) + | 526 | em->header.size = htons (sizeof (struct GNUNET_IDENTITY_PROVIDER_ExchangeMessage) + |
527 | slen); | 527 | slen); |
528 | em->aud_privkey = *aud_privkey; | 528 | em->aud_privkey = *aud_privkey; |
529 | memcpy (&em[1], ticket_str, slen); | 529 | GNUNET_memcpy (&em[1], ticket_str, slen); |
530 | GNUNET_free (ticket_str); | 530 | GNUNET_free (ticket_str); |
531 | op->msg = &em->header; | 531 | op->msg = &em->header; |
532 | GNUNET_CONTAINER_DLL_insert_tail (id->op_head, | 532 | GNUNET_CONTAINER_DLL_insert_tail (id->op_head, |