forgot to free memory.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7369 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2014-05-15 21:08:23 +00:00
parent 1bf3e2967f
commit d782d8eed9

View File

@ -398,6 +398,7 @@ std::string GxsSecurity::getRsaKeySign(RSA *pubkey)
BN_bn2bin(pubkey -> e, &tmp[lenn]);
Sha1CheckSum s = RsDirUtil::sha1sum(tmp,lenn+lene) ;
delete[] tmp ;
// Copy first CERTSIGNLEN bytes from the hash of the public modulus and exponent
// We should not be using strings here, but a real ID. To be done later.