Set s->hit when resuming from external pre-shared secret.
authorEmilia Kasper <emilia@openssl.org>
Wed, 19 Nov 2014 14:56:27 +0000 (15:56 +0100)
committerEmilia Kasper <emilia@openssl.org>
Thu, 20 Nov 2014 14:20:17 +0000 (15:20 +0100)
commit1eaccbef5787a746305a99ad9b66cf2105344e87
treecb9356940b8ecb5e06c935798681387414b33d2e
parente2f69f5ce7aa36d98e3b24c2afe8be561226659c
Set s->hit when resuming from external pre-shared secret.

The same change was independently made in BoringSSL, see commit
9eaeef81fa2d4fd6246dc02b6203fa936a5eaf67

Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit 7b3ba508af5c86afe43e28174aa3c53a0a24f4d9)
ssl/s3_clnt.c