mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 03:05:44 +01:00
- Premaster should have a maximum of MPI size
This commit is contained in:
parent
21654f392e
commit
df2bb75c28
@ -373,7 +373,8 @@ struct _ssl_handshake_params
|
||||
size_t pmslen; /*!< premaster length */
|
||||
|
||||
unsigned char randbytes[64]; /*!< random bytes */
|
||||
unsigned char premaster[256]; /*!< premaster secret */
|
||||
unsigned char premaster[POLARSSL_MPI_MAX_SIZE];
|
||||
/*!< premaster secret */
|
||||
|
||||
int resume; /*!< session resume indicator*/
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user