Incorrect alert for malformed Client Hello
Description of problem:
When ClientHello compression methods does not include CompressionMethod.null, GnuTLS aborts the connection with handshake_failure alert instead of illegal_parameter
Version of gnutls used:
Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
local compile on Fedora 28
How reproducible:
tlsfuzzer test-invalid-compression-methods.py
from https://github.com/tomato42/tlsfuzzer/pull/489
Actual results:
handshake_failure alert
Expected results:
illegal_parameter alert for ClientHello messages that do not include null compression