diff options
Diffstat (limited to 'src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c')
-rw-r--r-- | src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c b/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c index 4b1a09e50..123a02188 100644 --- a/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c +++ b/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c | |||
@@ -634,6 +634,8 @@ send_alices_cryptodata_message (struct AliceServiceSession *s) | |||
634 | e = GNUNET_MQ_msg_extra (msg, | 634 | e = GNUNET_MQ_msg_extra (msg, |
635 | todo_count * 2 * sizeof (struct GNUNET_CRYPTO_EccPoint), | 635 | todo_count * 2 * sizeof (struct GNUNET_CRYPTO_EccPoint), |
636 | GNUNET_MESSAGE_TYPE_SCALARPRODUCT_ECC_ALICE_CRYPTODATA); | 636 | GNUNET_MESSAGE_TYPE_SCALARPRODUCT_ECC_ALICE_CRYPTODATA); |
637 | GNUNET_MQ_env_set_options(e, | ||
638 | GNUNET_MQ_PREF_RELIABLE); | ||
637 | msg->contained_element_count = htonl (todo_count); | 639 | msg->contained_element_count = htonl (todo_count); |
638 | payload = (struct GNUNET_CRYPTO_EccPoint *) &msg[1]; | 640 | payload = (struct GNUNET_CRYPTO_EccPoint *) &msg[1]; |
639 | r_ia = gcry_mpi_new (0); | 641 | r_ia = gcry_mpi_new (0); |
@@ -837,7 +839,6 @@ client_request_complete_alice (struct AliceServiceSession *s) | |||
837 | s, | 839 | s, |
838 | &s->peer, | 840 | &s->peer, |
839 | &s->session_id, | 841 | &s->session_id, |
840 | GNUNET_CADET_OPTION_RELIABLE, | ||
841 | NULL, | 842 | NULL, |
842 | &cb_channel_destruction, | 843 | &cb_channel_destruction, |
843 | cadet_handlers); | 844 | cadet_handlers); |
@@ -865,6 +866,8 @@ client_request_complete_alice (struct AliceServiceSession *s) | |||
865 | 866 | ||
866 | e = GNUNET_MQ_msg (msg, | 867 | e = GNUNET_MQ_msg (msg, |
867 | GNUNET_MESSAGE_TYPE_SCALARPRODUCT_ECC_SESSION_INITIALIZATION); | 868 | GNUNET_MESSAGE_TYPE_SCALARPRODUCT_ECC_SESSION_INITIALIZATION); |
869 | GNUNET_MQ_env_set_options(e, | ||
870 | GNUNET_MQ_PREF_RELIABLE); | ||
868 | msg->session_id = s->session_id; | 871 | msg->session_id = s->session_id; |
869 | GNUNET_MQ_send (s->cadet_mq, | 872 | GNUNET_MQ_send (s->cadet_mq, |
870 | e); | 873 | e); |