added missing return in PGPKeyUtil, causing corruption of keys in some--possible rare--situations

This commit is contained in:
csoler 2016-08-12 15:24:40 +02:00
parent 81d42f0a89
commit ab82c4a73c

View File

@ -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 ;