diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-04-26 20:25:37 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-04-26 20:25:37 +0200 |
commit | aa78134a557079ce570345e751e4c36c4b2ba79a (patch) | |
tree | f7bf25950513285184e2426109235337d0aef8be /src/transport/gnunet-communicator-udp.c | |
parent | 1f2674fe293be7c1a852fbe4a7241fbcb149078f (diff) | |
download | gnunet-aa78134a557079ce570345e751e4c36c4b2ba79a.tar.gz gnunet-aa78134a557079ce570345e751e4c36c4b2ba79a.zip |
-fix many more typos
Diffstat (limited to 'src/transport/gnunet-communicator-udp.c')
-rw-r--r-- | src/transport/gnunet-communicator-udp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/transport/gnunet-communicator-udp.c b/src/transport/gnunet-communicator-udp.c index d75f4ae00..fa9bb5d0a 100644 --- a/src/transport/gnunet-communicator-udp.c +++ b/src/transport/gnunet-communicator-udp.c | |||
@@ -626,7 +626,7 @@ struct ReceiverAddress | |||
626 | int rekeying; | 626 | int rekeying; |
627 | 627 | ||
628 | /** | 628 | /** |
629 | * Numer of kce we retain for sending the rekeying shared secret. | 629 | * Number of kce we retain for sending the rekeying shared secret. |
630 | */ | 630 | */ |
631 | int number_rekeying_kce; | 631 | int number_rekeying_kce; |
632 | 632 | ||
@@ -1130,7 +1130,7 @@ sender_destroy (struct SenderAddress *sender) | |||
1130 | * | 1130 | * |
1131 | * @param msec master secret for calculation | 1131 | * @param msec master secret for calculation |
1132 | * @param serial number for the @a smac calculation | 1132 | * @param serial number for the @a smac calculation |
1133 | * @param key[out] where to write the decrption key | 1133 | * @param key[out] where to write the decryption key |
1134 | * @param iv[out] where to write the IV | 1134 | * @param iv[out] where to write the IV |
1135 | */ | 1135 | */ |
1136 | static void | 1136 | static void |
@@ -1235,7 +1235,7 @@ check_timeouts (void *cls) | |||
1235 | 1235 | ||
1236 | 1236 | ||
1237 | /** | 1237 | /** |
1238 | * Calcualte cmac from master in @a ss. | 1238 | * Calculate cmac from master in @a ss. |
1239 | * | 1239 | * |
1240 | * @param ss[in,out] data structure to complete | 1240 | * @param ss[in,out] data structure to complete |
1241 | */ | 1241 | */ |
@@ -1811,7 +1811,7 @@ kce_generate_rekey_cb (void *cls) | |||
1811 | * recently). | 1811 | * recently). |
1812 | * | 1812 | * |
1813 | * @param ss shared secret to generate ACKs for | 1813 | * @param ss shared secret to generate ACKs for |
1814 | * @param intial The SharedSecret came with initial KX. | 1814 | * @param initial The SharedSecret came with initial KX. |
1815 | */ | 1815 | */ |
1816 | static void | 1816 | static void |
1817 | consider_ss_ack (struct SharedSecret *ss, int initial) | 1817 | consider_ss_ack (struct SharedSecret *ss, int initial) |
@@ -1866,7 +1866,7 @@ consider_ss_ack (struct SharedSecret *ss, int initial) | |||
1866 | ack.acks_available = ss->sender->acks_available; | 1866 | ack.acks_available = ss->sender->acks_available; |
1867 | ack.cmac = ss_tell->cmac; | 1867 | ack.cmac = ss_tell->cmac; |
1868 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 1868 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
1869 | "Notifying transport of UDPAck %s with intial %u and master %s\n", | 1869 | "Notifying transport of UDPAck %s with initial %u and master %s\n", |
1870 | GNUNET_i2s_full (&ss_tell->sender->target), | 1870 | GNUNET_i2s_full (&ss_tell->sender->target), |
1871 | initial, | 1871 | initial, |
1872 | GNUNET_h2s (&(ss_tell->master))); | 1872 | GNUNET_h2s (&(ss_tell->master))); |
@@ -2486,7 +2486,7 @@ udp_address_to_sockaddr (const char *bindto, socklen_t *sock_len) | |||
2486 | colon = strrchr (cp, ':'); | 2486 | colon = strrchr (cp, ':'); |
2487 | if (NULL != colon) | 2487 | if (NULL != colon) |
2488 | { | 2488 | { |
2489 | /* interpet value after colon as port */ | 2489 | /* interpret value after colon as port */ |
2490 | *colon = '\0'; | 2490 | *colon = '\0'; |
2491 | colon++; | 2491 | colon++; |
2492 | if (1 == sscanf (colon, "%u%1s", &port, dummy)) | 2492 | if (1 == sscanf (colon, "%u%1s", &port, dummy)) |