Skip to content

Commit

Permalink
ssl/tls: allow 4096-bit key in client key exchange
Browse files Browse the repository at this point in the history
Reported by Tito Brasolin on GitHub (resolves #17).
  • Loading branch information
tomlogic committed May 1, 2019
1 parent e2ce3a8 commit b5b4d0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lib/Rabbit4000/tcpip/SSL/SSL_DEFS.LIB
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ END DESCRIPTION **********************************************************/
// workspace size, below)

// Maximum size handshake message (not including certificate messages)
#define SSL_MAX_HANDSHAKE_SIZE 0x200
// 4096-bit output (4096/8=512) + SSL_Handshake_Hdr_t (4) + SSL_uint16_t (2)
#define SSL_MAX_HANDSHAKE_SIZE (0x200 + 4 + 2)

// Timeout (ms) for handshake progression between successive states
#ifndef SSL_HANDSHAKE_TIMEOUT
Expand Down

0 comments on commit b5b4d0f

Please sign in to comment.