Ticket #4482 (closed Bug report: fixed)

Opened 11 months ago

Last modified 11 months ago

2048 selection creates 2058 bits size keys

Reported by: cromaniuc Owned by:
Priority: normal Component: FileZilla Server
Keywords: certificate generation 2048 Cc:
Operating system type: Windows Operating system version:

Description

It looks like when you use the Generate Certificate facility, selecting 2048 bits size will result in a 2058 bits size key.

Here's the code :

m_country.MakeUpper();
int bits = 1024;
if (m_keysize == 1)
bits = 2058;
else if (m_keysize == 2)
bits = 4096;

Change History

Changed 11 months ago by codesquid

  • status changed from new to closed
  • resolution set to fixed

Thanks, will be fixed in the next version.

Note: See TracTickets for help on using tickets.