mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
added missing return in PGPKeyUtil, causing corruption of keys in some--possible rare--situations
This commit is contained in:
parent
81d42f0a89
commit
ab82c4a73c
1 changed files with 2 additions and 0 deletions
|
@ -258,6 +258,8 @@ uint32_t PGPKeyParser::write_125Size(unsigned char *data,uint32_t size)
|
|||
{
|
||||
data[0] = (size >> 8) + 192 ;
|
||||
data[1] = (size & 255) - 192 ;
|
||||
|
||||
return 2 ;
|
||||
}
|
||||
|
||||
data[0] = 0xff ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue