mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Attempt to quickly fix a test.
This commit is contained in:
parent
06ccdb5b91
commit
63efa44dfa
|
@ -19,7 +19,7 @@
|
|||
#define REALLY_BIG_NUMBER ((1) << (sizeof(uint16_t) * 7))
|
||||
#define STRINGS_EQUAL(X, Y) (strcmp(X, Y) == 0)
|
||||
|
||||
char *friend_id_str = "1145e295b0fbdc9330d5d74ec204a8bf23c315106040b4035d0d358d07ee3f7d";
|
||||
char *friend_id_str = "e4b3d5030bc99494605aecc33ceec8875640c1d74aa32790e821b17e98771c4a1e2a72269dd7";
|
||||
|
||||
/* in case we need more than one ID for a test */
|
||||
char *good_id_a_str = "DB9B569D14850ED8364C3744CAC2C8FF78985D213E980C7C508D0E91E8E45441";
|
||||
|
|
|
@ -95,7 +95,6 @@ static uint16_t address_checksum(uint8_t *address, uint32_t len)
|
|||
* returns a FRIEND_ADDRESS_SIZE byte address to give to others.
|
||||
* format: [client_id (32 bytes)][nospam number (4 bytes)][checksum (2 bytes)]
|
||||
*
|
||||
* TODO: add checksum.
|
||||
*/
|
||||
void getaddress(Messenger *m, uint8_t *address)
|
||||
{
|
||||
|
|
|
@ -142,7 +142,6 @@ typedef struct Messenger {
|
|||
* returns a FRIEND_ADDRESS_SIZE byte address to give to others.
|
||||
* format: [client_id (32 bytes)][nospam number (4 bytes)][checksum (2 bytes)]
|
||||
*
|
||||
* TODO: add checksum.
|
||||
*/
|
||||
void getaddress(Messenger *m, uint8_t *address);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user