this change will prevent undefined behavior when src and dst are equal (memcpy),...
authorRoberto Guimaraes <rguimaraes@fastly.com>
Sun, 26 Feb 2017 23:47:40 +0000 (15:47 -0800)
committerRich Salz <rsalz@openssl.org>
Wed, 8 Mar 2017 14:42:29 +0000 (09:42 -0500)
commit6aad9393680ccde591905c8d71da92a241756394
treebf0e7decdac9225daba68ed0709f500c60e78115
parent4f7b76bf0f255c0a04eb3e47361a00b19f16120d
this change will prevent undefined behavior when src and dst are equal (memcpy), effectively allowing setting length only in both functions.

CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2750)
ssl/ssl_sess.c