fix segfault.

This commit is contained in:
Marcello Stanisci 2018-03-19 18:47:52 +01:00
parent 30aa3d4059
commit e364aa76e1
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -475,10 +475,10 @@ cert_cb (void *cls,
"Got NULL response for /keys\n"); "Got NULL response for /keys\n");
} }
else
GNUNET_log (GNUNET_ERROR_TYPE_INFO, GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Got %d DK from /keys\n", "Got %d DK from /keys\n",
keys->num_denom_keys); keys->num_denom_keys);
main_ctx->is->key_generation++; main_ctx->is->key_generation++;
main_ctx->is->keys = keys; main_ctx->is->keys = keys;