diff options
-rw-r--r-- | auto_tests/messenger_test.c | 2 | ||||
-rw-r--r-- | core/Messenger.c | 1 | ||||
-rw-r--r-- | core/Messenger.h | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/auto_tests/messenger_test.c b/auto_tests/messenger_test.c index 28747899..26694e97 100644 --- a/auto_tests/messenger_test.c +++ b/auto_tests/messenger_test.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #define REALLY_BIG_NUMBER ((1) << (sizeof(uint16_t) * 7)) | 19 | #define REALLY_BIG_NUMBER ((1) << (sizeof(uint16_t) * 7)) |
20 | #define STRINGS_EQUAL(X, Y) (strcmp(X, Y) == 0) | 20 | #define STRINGS_EQUAL(X, Y) (strcmp(X, Y) == 0) |
21 | 21 | ||
22 | char *friend_id_str = "1145e295b0fbdc9330d5d74ec204a8bf23c315106040b4035d0d358d07ee3f7d"; | 22 | char *friend_id_str = "e4b3d5030bc99494605aecc33ceec8875640c1d74aa32790e821b17e98771c4a1e2a72269dd7"; |
23 | 23 | ||
24 | /* in case we need more than one ID for a test */ | 24 | /* in case we need more than one ID for a test */ |
25 | char *good_id_a_str = "DB9B569D14850ED8364C3744CAC2C8FF78985D213E980C7C508D0E91E8E45441"; | 25 | char *good_id_a_str = "DB9B569D14850ED8364C3744CAC2C8FF78985D213E980C7C508D0E91E8E45441"; |
diff --git a/core/Messenger.c b/core/Messenger.c index 72f59036..2721f8f6 100644 --- a/core/Messenger.c +++ b/core/Messenger.c | |||
@@ -95,7 +95,6 @@ static uint16_t address_checksum(uint8_t *address, uint32_t len) | |||
95 | * returns a FRIEND_ADDRESS_SIZE byte address to give to others. | 95 | * returns a FRIEND_ADDRESS_SIZE byte address to give to others. |
96 | * format: [client_id (32 bytes)][nospam number (4 bytes)][checksum (2 bytes)] | 96 | * format: [client_id (32 bytes)][nospam number (4 bytes)][checksum (2 bytes)] |
97 | * | 97 | * |
98 | * TODO: add checksum. | ||
99 | */ | 98 | */ |
100 | void getaddress(Messenger *m, uint8_t *address) | 99 | void getaddress(Messenger *m, uint8_t *address) |
101 | { | 100 | { |
diff --git a/core/Messenger.h b/core/Messenger.h index 51f4eb14..9621176f 100644 --- a/core/Messenger.h +++ b/core/Messenger.h | |||
@@ -142,7 +142,6 @@ typedef struct Messenger { | |||
142 | * returns a FRIEND_ADDRESS_SIZE byte address to give to others. | 142 | * returns a FRIEND_ADDRESS_SIZE byte address to give to others. |
143 | * format: [client_id (32 bytes)][nospam number (4 bytes)][checksum (2 bytes)] | 143 | * format: [client_id (32 bytes)][nospam number (4 bytes)][checksum (2 bytes)] |
144 | * | 144 | * |
145 | * TODO: add checksum. | ||
146 | */ | 145 | */ |
147 | void getaddress(Messenger *m, uint8_t *address); | 146 | void getaddress(Messenger *m, uint8_t *address); |
148 | 147 | ||