mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-13 16:45:49 -04:00
Bugfixes to rsmsgitems & rsserial.
removed testing utilites rstlvutil. fixed up rsgxsiditems printing. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7232 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
7fa611b2e7
commit
3eb79bbcba
7 changed files with 16 additions and 241 deletions
|
@ -29,6 +29,7 @@
|
|||
#include "serialiser/rstlvbase.h"
|
||||
#include "serialiser/rsbaseserial.h"
|
||||
#include "serialiser/rstlvstring.h"
|
||||
#include "util/rsstring.h"
|
||||
|
||||
#define GXSID_DEBUG 1
|
||||
|
||||
|
@ -151,7 +152,14 @@ std::ostream& RsGxsIdGroupItem::print(std::ostream& out, uint16_t indent)
|
|||
printIndent(out, int_Indent);
|
||||
out << "PgpIdHash: " << group.mPgpIdHash << std::endl;
|
||||
printIndent(out, int_Indent);
|
||||
out << "PgpIdSign: " << group.mPgpIdSign << std::endl;
|
||||
|
||||
std::string signhex;
|
||||
// convert from binary to hex.
|
||||
for(unsigned int i = 0; i < group.mPgpIdSign.length(); i++)
|
||||
{
|
||||
rs_sprintf_append(signhex, "%02x", (uint32_t) ((uint8_t) group.mPgpIdSign[i]));
|
||||
}
|
||||
out << "PgpIdSign: " << signhex << std::endl;
|
||||
printIndent(out, int_Indent);
|
||||
out << "RecognTags:" << std::endl;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue