diff --git a/c/opendht.cpp b/c/opendht.cpp index 91a29081c5b017e97d286085093f1e534120f498..87dc6e3804707ecb4a472ddcc4482a444f3f91aa 100644 --- a/c/opendht.cpp +++ b/c/opendht.cpp @@ -349,6 +349,7 @@ int dht_runner_run_config(dht_runner* r, in_port_t port, const dht_runner_config config.peer_discovery = conf->peer_discovery; config.peer_publish = conf->peer_publish; config.server_ca = *reinterpret_cast<const CertSp*>(conf->server_ca); + config.client_identity = dht_identity_from_c(&conf->client_identity); dht::DhtRunner::Context context; if (conf->log) {