mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
added check for empty author id in gxs group creation
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8050 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
594590f635
commit
2335290a56
@ -470,7 +470,13 @@ int RsGenExchange::createGroupSignatures(RsTlvKeySignatureSet& signSet, RsTlvBin
|
||||
|
||||
if (needIdentitySign)
|
||||
{
|
||||
if(mGixs)
|
||||
if(grpMeta.mAuthorId.isNull())
|
||||
{
|
||||
std::cerr << "RsGenExchange::createGroupSignatures() ";
|
||||
std::cerr << "Group signature is required by service, but the author id is null." << std::endl;
|
||||
id_ret = SIGN_FAIL;
|
||||
}
|
||||
else if(mGixs)
|
||||
{
|
||||
bool haveKey = mGixs->havePrivateKey(grpMeta.mAuthorId);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user