chris 2223142685 embed: fix oob panic in zap logger
This fixes an index out-of-bounds panic caused when using the embed
package and the zap logger. When a TLS handshake error is logged, the
slice for cert ip addresses is allocated with capacity but no length, so
subsequent index access causes the panic, and doesn't surface the TLS
handshake error to the user.

Fixes #10932
2019-07-25 09:42:42 -04:00
..
2019-05-28 15:39:35 -07:00
2019-05-28 15:39:35 -07:00
2019-05-28 15:39:35 -07:00
2019-05-28 15:39:35 -07:00
2019-05-28 15:39:35 -07:00