diff options
author | Matt Caswell <matt@openssl.org> | 2016-07-08 12:20:42 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-07-19 12:18:46 +0100 |
commit | 02a74590bb9e22d0f4131e8bd6b391402f7d3752 (patch) | |
tree | 37ccd71edb54f2e538a417e6afc8892ffd193d0b | |
parent | be8dba2c924b81a28053588f171b91b72e7e3ebc (diff) |
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>
-rw-r--r-- | ssl/statem/statem_clnt.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ssl/statem/statem_clnt.c b/ssl/statem/statem_clnt.c index 38b20a7188..01088af312 100644 --- a/ssl/statem/statem_clnt.c +++ b/ssl/statem/statem_clnt.c @@ -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; |