mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Move the PSK preamble for tls_process_key_exchange()
The function tls_process_key_exchange() is too long. This commit moves the PSK preamble processing out to a separate function. Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
be8dba2c92
commit
02a74590bb
@ -1302,6 +1302,15 @@ MSG_PROCESS_RETURN tls_process_server_certificate(SSL *s, PACKET *pkt)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int tls_process_ske_psk_preamble(SSL *s, int *al)
|
||||
{
|
||||
#ifndef OPENSSL_NO_PSK
|
||||
|
||||
#else
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
MSG_PROCESS_RETURN tls_process_key_exchange(SSL *s, PACKET *pkt)
|
||||
{
|
||||
EVP_MD_CTX *md_ctx;
|
||||
|
Loading…
Reference in New Issue
Block a user