mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2025-02-02 02:54:02 +01:00
4 byte
This commit is contained in:
parent
45bb062f53
commit
9150890101
|
@ -10,6 +10,7 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
typedef unsigned int __attribute__((__mode__(SI))) ui4b_t; //32 / 8 = 4 byte
|
||||||
|
|
||||||
static std::mutex thread_mutex;
|
static std::mutex thread_mutex;
|
||||||
static i2p::data::SigningKeyType type;
|
static i2p::data::SigningKeyType type;
|
||||||
|
|
|
@ -68,7 +68,7 @@ Orignal is sensei of crypto ;)
|
||||||
*/
|
*/
|
||||||
std::cout << "Thread " << id_thread << " binded" << std::endl;
|
std::cout << "Thread " << id_thread << " binded" << std::endl;
|
||||||
|
|
||||||
uint8_t b[391];
|
ui4b_t b[391];
|
||||||
memcpy (b, buf, 391);
|
memcpy (b, buf, 391);
|
||||||
|
|
||||||
int len = strlen (prefix);
|
int len = strlen (prefix);
|
||||||
|
|
Loading…
Reference in a new issue