mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-20 23:10:39 -04:00
fixed sending part in encrypted msg items
This commit is contained in:
parent
71071595c8
commit
0513e71c68
4 changed files with 151 additions and 75 deletions
|
@ -53,7 +53,7 @@ class GxsSecurity
|
|||
class MultiEncryptionContext
|
||||
{
|
||||
public:
|
||||
MultiEncryptionContext() { clear() ;}
|
||||
MultiEncryptionContext() { ekl=NULL;ek=NULL;}
|
||||
~MultiEncryptionContext() { clear() ;}
|
||||
|
||||
void clear()
|
||||
|
@ -61,7 +61,9 @@ class GxsSecurity
|
|||
for(uint32_t i=0;i<ids.size();++i)
|
||||
free(ek[i]) ;
|
||||
|
||||
if(ekl)
|
||||
free(ekl) ;
|
||||
if(ek)
|
||||
free(ek) ;
|
||||
|
||||
ekl = NULL ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue