diff --git a/libretroshare/src/pqi/authgpg.cc b/libretroshare/src/pqi/authgpg.cc index 331384979..541542775 100644 --- a/libretroshare/src/pqi/authgpg.cc +++ b/libretroshare/src/pqi/authgpg.cc @@ -1249,6 +1249,7 @@ bool AuthGPG::LoadCertificateFromString(std::string str, std::string &gpg_id) } //retrieve the id of the key certmap::iterator it; + gpg_id = "" ; RsStackReadWriteMutex stack(pgpMtx, RsReadWriteMutex::READ_LOCK); /******* LOCKED ******/ for(it = mKeyList.begin(); it != mKeyList.end(); it++) {