projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be8dba2
)
Move the PSK preamble for tls_process_key_exchange()
author
Matt Caswell
<matt@openssl.org>
Fri, 8 Jul 2016 11:20:42 +0000
(12:20 +0100)
committer
Matt Caswell
<matt@openssl.org>
Tue, 19 Jul 2016 11:18:46 +0000
(12:18 +0100)
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>
ssl/statem/statem_clnt.c
patch
|
blob
|
history
diff --git
a/ssl/statem/statem_clnt.c
b/ssl/statem/statem_clnt.c
index 38b20a71888541f8949b98e0d261d0b8d0beab10..01088af312447bea2945fdc16070aa7f323211dd 100644
(file)
--- 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;