mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-20 13:24:33 -05:00
add return when decrypting went wrong
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1555 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
aeb1e53c06
commit
1bb1aa0fc5
@ -1338,6 +1338,7 @@ int RsInit::LoadCertificates(bool autoLoginNT)
|
||||
} else {
|
||||
gpgme_data_release (plain);
|
||||
std::cerr << "Error : decrypting went wrong !" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
gpgme_data_release (cipher);
|
||||
fclose(sslPassphraseFile);
|
||||
|
Loading…
Reference in New Issue
Block a user