Whenever HAProxy was reloaded with rotated keys, the resumption would be
broken for previous encryption key. The bug was introduced with the addition
of 80 byte keys in 9e7547 (MINOR: ssl: add support of aes256 bits ticket keys
on file and cli.).
This fix needs to be backported to 1.9.
union tls_sess_key{
unsigned char name[16];
- struct tls_sess_key_256 key_128;
+ struct tls_sess_key_128 key_128;
struct tls_sess_key_256 key_256;
} __attribute__((packed));