Fix comments, add new test.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 26 Aug 2014 00:20:26 +0000 (01:20 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 28 Aug 2014 17:10:21 +0000 (18:10 +0100)
commitf9784baf0e36a3f26093af199480b263d7b5ae72
tree7449143e47b97515dd6473b651bfc3999f60733b
parent8fb57b29d61e050fbf2536077d1378b5cce93473
Fix comments, add new test.

Fix comments in ssltest.c: return value of 0 now means extension is
omitted and add_cb is not called for servers if the corresponding
extension is absent in ClientHello.

Test add_cb is not called if extension is not received.
Reviewed-by: Emilia Käsper <emilia@openssl.org>
(cherry picked from commit f47e203975133ddbae3cde20c8c3c0516f62066c)
ssl/ssltest.c