From 5922f5a7ea834c5de30f1369467d90af5ad6ada4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com>
Date: Mon, 23 Mar 2015 10:58:37 -0400
Subject: [PATCH] ringdht: generate identity when saving account parameters

Refs #69038

Change-Id: Ife1cf26d426fefb46b65d4d3d0f34a3d4f727052
---
 src/ringdht/ringaccount.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/ringdht/ringaccount.cpp b/src/ringdht/ringaccount.cpp
index 7b8d0f04f9..1bd5262087 100644
--- a/src/ringdht/ringaccount.cpp
+++ b/src/ringdht/ringaccount.cpp
@@ -420,6 +420,7 @@ RingAccount::checkIdentityPath()
     tlsPrivateKeyFile_ = idPath + DIR_SEPARATOR_STR "dht.key";
     tlsCertificateFile_ = idPath + DIR_SEPARATOR_STR "dht.crt";
     tlsCaListFile_ = idPath + DIR_SEPARATOR_STR "ca.crt";
+    loadIdentity();
 }
 
 std::vector<uint8_t>
-- 
GitLab