if log fails, avoid pms getting double free
authorRich Salz <rsalz@openssl.org>
Mon, 24 Apr 2017 13:41:51 +0000 (09:41 -0400)
committerRich Salz <rsalz@openssl.org>
Mon, 24 Apr 2017 13:41:51 +0000 (09:41 -0400)
commit26fb4b033c664df7e220db1960f1cdad73bbba06
treeb2d80e6608ffa72405cf809428bdf892e7424f07
parentcb2a6eb76ef7304a1b76ac5e2578cd9d5f59af28
if log fails, avoid pms getting double free

doing the pms assignment after log is successful

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3278)
ssl/statem/statem_clnt.c