projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/master' into identity_abe
[oweals/gnunet.git]
/
src
/
credential
/
credential_api.c
diff --git
a/src/credential/credential_api.c
b/src/credential/credential_api.c
index b201d4d9ce23c0ae6d75a00a3406c116b61df664..ca54137add34139cc5fcc99ea8e6bc27666f76f0 100644
(file)
--- a/
src/credential/credential_api.c
+++ b/
src/credential/credential_api.c
@@
-283,7
+283,7
@@
reconnect (struct GNUNET_CREDENTIAL_Handle *handle)
GNUNET_assert (NULL == handle->mq);
LOG (GNUNET_ERROR_TYPE_DEBUG,
"Trying to connect to CREDENTIAL\n");
GNUNET_assert (NULL == handle->mq);
LOG (GNUNET_ERROR_TYPE_DEBUG,
"Trying to connect to CREDENTIAL\n");
- handle->mq = GNUNET_CLIENT_connec
T
(handle->cfg,
+ handle->mq = GNUNET_CLIENT_connec
t
(handle->cfg,
"credential",
handlers,
&mq_error_handler,
"credential",
handlers,
&mq_error_handler,
@@
-348,7
+348,7
@@
GNUNET_CREDENTIAL_disconnect (struct GNUNET_CREDENTIAL_Handle *handle)
* @param lr the verify request to cancel
*/
void
* @param lr the verify request to cancel
*/
void
-GNUNET_CREDENTIAL_
verify
_cancel (struct GNUNET_CREDENTIAL_Request *vr)
+GNUNET_CREDENTIAL_
request
_cancel (struct GNUNET_CREDENTIAL_Request *vr)
{
struct GNUNET_CREDENTIAL_Handle *handle = vr->credential_handle;
{
struct GNUNET_CREDENTIAL_Handle *handle = vr->credential_handle;
@@
-399,7
+399,7
@@
GNUNET_CREDENTIAL_collect (struct GNUNET_CREDENTIAL_Handle *handle,
"Trying to collect `%s' in CREDENTIAL\n",
issuer_attribute);
nlen = strlen (issuer_attribute) + 1;
"Trying to collect `%s' in CREDENTIAL\n",
issuer_attribute);
nlen = strlen (issuer_attribute) + 1;
- if (nlen >= GNUNET_
SERVER_
MAX_MESSAGE_SIZE - sizeof (*vr))
+ if (nlen >= GNUNET_MAX_MESSAGE_SIZE - sizeof (*vr))
{
GNUNET_break (0);
return NULL;
{
GNUNET_break (0);
return NULL;
@@
-475,7
+475,7
@@
GNUNET_CREDENTIAL_verify (struct GNUNET_CREDENTIAL_Handle *handle,
"Trying to verify `%s' in CREDENTIAL\n",
issuer_attribute);
nlen = strlen (issuer_attribute) + 1 + clen;
"Trying to verify `%s' in CREDENTIAL\n",
issuer_attribute);
nlen = strlen (issuer_attribute) + 1 + clen;
- if (nlen >= GNUNET_
SERVER_
MAX_MESSAGE_SIZE - sizeof (*vr))
+ if (nlen >= GNUNET_MAX_MESSAGE_SIZE - sizeof (*vr))
{
GNUNET_break (0);
return NULL;
{
GNUNET_break (0);
return NULL;