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:
joss17 2009-08-18 12:44:32 +00:00
parent aeb1e53c06
commit 1bb1aa0fc5

View File

@ -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);