mirror of
https://github.com/openssl/openssl.git
synced 2025-04-24 20:51:14 +08:00
Increase PSK_MAX_PSK_LEN to 512
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/12777)
This commit is contained in:
parent
627ddf7b5b
commit
e57bbf9e1a
@ -850,7 +850,7 @@ void SSL_get0_alpn_selected(const SSL *ssl, const unsigned char **data,
|
||||
* resulting identity/psk
|
||||
*/
|
||||
# define PSK_MAX_IDENTITY_LEN 128
|
||||
# define PSK_MAX_PSK_LEN 256
|
||||
# define PSK_MAX_PSK_LEN 512
|
||||
typedef unsigned int (*SSL_psk_client_cb_func)(SSL *ssl,
|
||||
const char *hint,
|
||||
char *identity,
|
||||
|
@ -524,7 +524,7 @@ struct ssl_method_st {
|
||||
* Matches the length of PSK_MAX_PSK_LEN. We keep it the same value for
|
||||
* consistency, even in the event of OPENSSL_NO_PSK being defined.
|
||||
*/
|
||||
# define TLS13_MAX_RESUMPTION_PSK_LENGTH 256
|
||||
# define TLS13_MAX_RESUMPTION_PSK_LENGTH 512
|
||||
|
||||
/*-
|
||||
* Lets make this into an ASN.1 type structure as follows
|
||||
|
Loading…
x
Reference in New Issue
Block a user