mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-04 09:05:34 -05:00
added missing return in PGPKeyUtil, causing corruption of keys in some--possible rare--situations
This commit is contained in:
parent
81d42f0a89
commit
ab82c4a73c
@ -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…
x
Reference in New Issue
Block a user