}
if (NULL != nonce_str)
- memcpy (&purpose[1] + sizeof (struct GNUNET_RECLAIM_Ticket),
- nonce_str,
+ memcpy (nonce_str,
+ &purpose[1] + sizeof (struct GNUNET_RECLAIM_Ticket),
strlen (nonce_str));
if (GNUNET_OK != GNUNET_CRYPTO_ecdsa_verify (GNUNET_SIGNATURE_PURPOSE_RECLAIM_CODE_SIGN,
purpose,
(unsigned char) '/');
*pos = '\0';
handle->redirect_suffix = GNUNET_strdup (pos + 1);
- GNUNET_free (tmp);
-
+
GNUNET_STRINGS_string_to_data (tmp_key_str,
strlen (tmp_key_str),
&redirect_zone,
handle,
&get_client_name_result,
handle);
+ GNUNET_free (tmp);
+
}
/**
cid,
sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey));
- GNUNET_free (client_id);
GNUNET_free (basic_authorization);
return GNUNET_OK;
}