commit | 5fc043d366bc711d1315802e504bcb253b783085 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Mon Dec 01 12:01:44 2014 -0800 |
committer | Kenny Root <kroot@google.com> | Thu Dec 04 14:03:29 2014 -0800 |
tree | 5b68fcc1d9e7c5fa7a0bc4aa193ddbc15db99d06 | |
parent | 6a1b7a85dcdeb19305ad5153579bd11c1eb0bfad [diff] |
Clear SSL state safely Since SSL_clear can fail, we should clear the OpenSSL ERR stack if it does fail. However, to aid in spotting bugs, only clear the stack if the SSL_clear itself fails. (cherry picked from commit 86dd832ac26112890b3e815a144ff062ae9b3559) Bug: 18570895 Change-Id: I053d2e2792e64923c1e128b4fcae23b2e660a992