Only call memcpy when the length is larger than 0.
authorKurt Roeckx <kurt@roeckx.be>
Thu, 8 Dec 2016 18:20:55 +0000 (19:20 +0100)
committerKurt Roeckx <kurt@roeckx.be>
Thu, 8 Dec 2016 19:17:01 +0000 (20:17 +0100)
commita19fc66a6b5f99ad00305e152bdb41460d728640
tree778239e2a8d6a281f80e8e68b78930e968aeefca
parent120fb9e43656e1801c75a4fbb7c178ebec9bac18
Only call memcpy when the length is larger than 0.

Reviewed-by: Rich Salz <rsalz@openssl.org>
GH: #2050
ssl/statem/statem_clnt.c