mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
fixed typo
This commit is contained in:
parent
c4dda06cde
commit
43a989872d
|
@ -74,8 +74,6 @@ namespace data
|
||||||
uint8_t publicKey[256];
|
uint8_t publicKey[256];
|
||||||
uint8_t signingKey[128];
|
uint8_t signingKey[128];
|
||||||
};
|
};
|
||||||
#pragma pack()
|
|
||||||
Keys CreateRandomKeys ();
|
|
||||||
|
|
||||||
const uint8_t CERTIFICATE_TYPE_NULL = 0;
|
const uint8_t CERTIFICATE_TYPE_NULL = 0;
|
||||||
const uint8_t CERTIFICATE_TYPE_HASHCASH = 1;
|
const uint8_t CERTIFICATE_TYPE_HASHCASH = 1;
|
||||||
|
@ -99,7 +97,10 @@ namespace data
|
||||||
Identity& operator=(const Keys& keys);
|
Identity& operator=(const Keys& keys);
|
||||||
size_t FromBuffer (const uint8_t * buf, size_t len);
|
size_t FromBuffer (const uint8_t * buf, size_t len);
|
||||||
IdentHash Hash () const;
|
IdentHash Hash () const;
|
||||||
};
|
};
|
||||||
|
#pragma pack()
|
||||||
|
Keys CreateRandomKeys ();
|
||||||
|
|
||||||
const size_t DEFAULT_IDENTITY_SIZE = sizeof (Identity); // 387 bytes
|
const size_t DEFAULT_IDENTITY_SIZE = sizeof (Identity); // 387 bytes
|
||||||
|
|
||||||
const uint16_t CRYPTO_KEY_TYPE_ELGAMAL = 0;
|
const uint16_t CRYPTO_KEY_TYPE_ELGAMAL = 0;
|
||||||
|
|
Loading…
Reference in a new issue