// TODO: hack, remove once all global variables are gone.
static void set_mesh(meshlink_handle_t *localmesh) {
mesh = localmesh;
- loop = &mesh->loop;
}
static bool ecdsa_keygen(meshlink_handle_t *mesh) {
}
static void __attribute__((constructor)) meshlink_init(void) {
- gettimeofday(&now, NULL);
- srand(now.tv_sec + now.tv_usec);
crypto_init();
}