mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-19 22:40:36 -04:00
added dsitrib item tests: channels, grp, grp key, signed msg.
- also added support src for serialiser test - add functions here that could be generally used throughout serialiser tests - fixed empty grp id set of grp keys in creategrp function git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3196 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f3c2f0eaf0
commit
480e327c91
9 changed files with 654 additions and 10 deletions
|
@ -1638,6 +1638,7 @@ std::string p3GroupDistrib::createGroup(std::wstring name, std::wstring desc, ui
|
|||
newGrp->adminKey.keyFlags = RSTLV_KEY_TYPE_PUBLIC_ONLY | RSTLV_KEY_DISTRIB_ADMIN;
|
||||
newGrp->adminKey.startTS = now;
|
||||
newGrp->adminKey.endTS = 0; /* no end */
|
||||
grpId = newGrp->adminKey.keyId;
|
||||
|
||||
|
||||
RsTlvSecurityKey publish_key;
|
||||
|
@ -1696,7 +1697,6 @@ std::string p3GroupDistrib::createGroup(std::wstring name, std::wstring desc, ui
|
|||
publish_key.keyData.bin_data = NULL;
|
||||
publish_key.keyData.bin_len = 0;
|
||||
|
||||
grpId = newGrp->adminKey.keyId;
|
||||
newGrp->grpId = grpId;
|
||||
|
||||
/************* Back up Keys *********************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue