There is no GnuTLS version which would make this safe. See https://gitlab.com/gnutls/gnutls/issues/477