diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-13 01:46:55 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-13 01:46:55 +0100 |
commit | e4186e9327787fe463ab4571186672888df09e39 (patch) | |
tree | 83aee49d170aee9a7c5bc4facc712081b547adbc /src/scalarproduct | |
parent | 91abbcffa03d4f87d4c899ec396c9213e9dc6e18 (diff) | |
download | gnunet-e4186e9327787fe463ab4571186672888df09e39.tar.gz gnunet-e4186e9327787fe463ab4571186672888df09e39.zip |
renaming CADET APIs to match naming conventions again, now that the old symbols have been purged
Diffstat (limited to 'src/scalarproduct')
4 files changed, 8 insertions, 8 deletions
diff --git a/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c b/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c index ca92fb9ea..c0b33f8ef 100644 --- a/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c +++ b/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c | |||
@@ -842,7 +842,7 @@ client_request_complete_alice (struct AliceServiceSession *s) | |||
842 | "Creating new channel for session with key %s.\n", | 842 | "Creating new channel for session with key %s.\n", |
843 | GNUNET_h2s (&s->session_id)); | 843 | GNUNET_h2s (&s->session_id)); |
844 | s->channel | 844 | s->channel |
845 | = GNUNET_CADET_channel_creatE (my_cadet, | 845 | = GNUNET_CADET_channel_create (my_cadet, |
846 | s, | 846 | s, |
847 | &s->peer, | 847 | &s->peer, |
848 | &s->session_id, | 848 | &s->session_id, |
@@ -1173,7 +1173,7 @@ run (void *cls, | |||
1173 | GNUNET_CRYPTO_ecc_rnd_mpi (edc, | 1173 | GNUNET_CRYPTO_ecc_rnd_mpi (edc, |
1174 | &my_privkey, | 1174 | &my_privkey, |
1175 | &my_privkey_inv); | 1175 | &my_privkey_inv); |
1176 | my_cadet = GNUNET_CADET_connecT (cfg); | 1176 | my_cadet = GNUNET_CADET_connect (cfg); |
1177 | if (NULL == my_cadet) | 1177 | if (NULL == my_cadet) |
1178 | { | 1178 | { |
1179 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 1179 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
diff --git a/src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c b/src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c index 3851ca763..0b0333332 100644 --- a/src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c +++ b/src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c | |||
@@ -950,7 +950,7 @@ handle_bob_client_message (void *cls, | |||
950 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 950 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
951 | "Received client request, opening port %s!\n", | 951 | "Received client request, opening port %s!\n", |
952 | GNUNET_h2s (&msg->session_key)); | 952 | GNUNET_h2s (&msg->session_key)); |
953 | s->port = GNUNET_CADET_open_porT (my_cadet, | 953 | s->port = GNUNET_CADET_open_port (my_cadet, |
954 | &msg->session_key, | 954 | &msg->session_key, |
955 | &cb_channel_incoming, | 955 | &cb_channel_incoming, |
956 | s, | 956 | s, |
@@ -1054,7 +1054,7 @@ run (void *cls, | |||
1054 | /* We don't really do DLOG, so we can setup with very minimal resources */ | 1054 | /* We don't really do DLOG, so we can setup with very minimal resources */ |
1055 | edc = GNUNET_CRYPTO_ecc_dlog_prepare (4 /* max value */, | 1055 | edc = GNUNET_CRYPTO_ecc_dlog_prepare (4 /* max value */, |
1056 | 2 /* RAM */); | 1056 | 2 /* RAM */); |
1057 | my_cadet = GNUNET_CADET_connecT (cfg); | 1057 | my_cadet = GNUNET_CADET_connect (cfg); |
1058 | GNUNET_SCHEDULER_add_shutdown (&shutdown_task, | 1058 | GNUNET_SCHEDULER_add_shutdown (&shutdown_task, |
1059 | NULL); | 1059 | NULL); |
1060 | if (NULL == my_cadet) | 1060 | if (NULL == my_cadet) |
diff --git a/src/scalarproduct/gnunet-service-scalarproduct_alice.c b/src/scalarproduct/gnunet-service-scalarproduct_alice.c index 6d7a0a3b8..a55d03900 100644 --- a/src/scalarproduct/gnunet-service-scalarproduct_alice.c +++ b/src/scalarproduct/gnunet-service-scalarproduct_alice.c | |||
@@ -1076,7 +1076,7 @@ client_request_complete_alice (struct AliceServiceSession *s) | |||
1076 | "Creating new channel for session with key %s.\n", | 1076 | "Creating new channel for session with key %s.\n", |
1077 | GNUNET_h2s (&s->session_id)); | 1077 | GNUNET_h2s (&s->session_id)); |
1078 | s->channel | 1078 | s->channel |
1079 | = GNUNET_CADET_channel_creatE (my_cadet, | 1079 | = GNUNET_CADET_channel_create (my_cadet, |
1080 | s, | 1080 | s, |
1081 | &s->peer, | 1081 | &s->peer, |
1082 | &s->session_id, | 1082 | &s->session_id, |
@@ -1398,7 +1398,7 @@ run (void *cls, | |||
1398 | GNUNET_CRYPTO_PAILLIER_BITS / 3); | 1398 | GNUNET_CRYPTO_PAILLIER_BITS / 3); |
1399 | GNUNET_CRYPTO_paillier_create (&my_pubkey, | 1399 | GNUNET_CRYPTO_paillier_create (&my_pubkey, |
1400 | &my_privkey); | 1400 | &my_privkey); |
1401 | my_cadet = GNUNET_CADET_connecT (cfg); | 1401 | my_cadet = GNUNET_CADET_connect (cfg); |
1402 | GNUNET_SCHEDULER_add_shutdown (&shutdown_task, | 1402 | GNUNET_SCHEDULER_add_shutdown (&shutdown_task, |
1403 | NULL); | 1403 | NULL); |
1404 | if (NULL == my_cadet) | 1404 | if (NULL == my_cadet) |
diff --git a/src/scalarproduct/gnunet-service-scalarproduct_bob.c b/src/scalarproduct/gnunet-service-scalarproduct_bob.c index f3b5327f1..0c38cb426 100644 --- a/src/scalarproduct/gnunet-service-scalarproduct_bob.c +++ b/src/scalarproduct/gnunet-service-scalarproduct_bob.c | |||
@@ -1230,7 +1230,7 @@ handle_bob_client_message (void *cls, | |||
1230 | } | 1230 | } |
1231 | GNUNET_SERVICE_client_continue (s->client); | 1231 | GNUNET_SERVICE_client_continue (s->client); |
1232 | /* We're ready, open the port */ | 1232 | /* We're ready, open the port */ |
1233 | s->port = GNUNET_CADET_open_porT (my_cadet, | 1233 | s->port = GNUNET_CADET_open_port (my_cadet, |
1234 | &msg->session_key, | 1234 | &msg->session_key, |
1235 | &cb_channel_incoming, | 1235 | &cb_channel_incoming, |
1236 | s, | 1236 | s, |
@@ -1336,7 +1336,7 @@ run (void *cls, | |||
1336 | 1336 | ||
1337 | GNUNET_CRYPTO_paillier_create (&my_pubkey, | 1337 | GNUNET_CRYPTO_paillier_create (&my_pubkey, |
1338 | &my_privkey); | 1338 | &my_privkey); |
1339 | my_cadet = GNUNET_CADET_connecT (cfg); | 1339 | my_cadet = GNUNET_CADET_connect (cfg); |
1340 | GNUNET_SCHEDULER_add_shutdown (&shutdown_task, | 1340 | GNUNET_SCHEDULER_add_shutdown (&shutdown_task, |
1341 | NULL); | 1341 | NULL); |
1342 | if (NULL == my_cadet) | 1342 | if (NULL == my_cadet) |