Fix offsetting.

This commit is contained in:
Marcello Stanisci 2018-05-11 11:34:00 +02:00
parent 0c2851b88b
commit 868a0deecc
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -702,7 +702,7 @@ taler_bank_execute_wire_transfer (void *cls,
return NULL;
}
auth.details.basic.password = &auth.details.basic.username[slen];
slen = strlen (auth.details.basic.username) + 1;
slen = strlen (auth.details.basic.password) + 1;
GNUNET_assert (left >= slen);
left -= slen;
if (0 != left)