Don't attempt to add a zero length padding extension
authorMatt Caswell <matt@openssl.org>
Mon, 4 Sep 2017 07:44:02 +0000 (08:44 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 4 Sep 2017 14:15:30 +0000 (15:15 +0100)
commit3d85c7f408e54e1a0b367901534139ba5f1cad07
tree848ec43e09fc0ff794a4d2b833c484659deb1ee5
parent45fd6a59facab8b8aa088f9f492f10aa5d2581c2
Don't attempt to add a zero length padding extension

The padding extension should always be at least 1 byte long

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/4331)
ssl/statem/extensions_clnt.c