Call init and finalization functions per extension message
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Tue, 18 Apr 2017 14:59:39 +0000 (23:59 +0900)
committerMatt Caswell <matt@openssl.org>
Wed, 26 Apr 2017 15:56:35 +0000 (16:56 +0100)
commit735d5b59df341236a6c9bb51ebdfebf9119ebeab
tree3462d05f60d54f866f9a0051bbb01910d4f173c8
parentb89646684d920d3014979f8a73b96aecb61c7b1f
Call init and finalization functions per extension message

Previously, init and finalization function for extensions are called
per extension block, rather than per message.  This commit changes
that behaviour, and now they are called per message.  The parse
function is still called per extension block.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3244)
ssl/statem/extensions.c
ssl/statem/statem_clnt.c
ssl/statem/statem_locl.h
ssl/statem/statem_srvr.c