static void terminate(void);
-/* This program tests whether MD5 is rejected by a client as a
- * signature algorithm for the ServerKeyExchange.
+/* This program tests whether EtM is negotiated as expected.
*/
static void server_log_func(int level, const char *str)
static int handshake_callback(gnutls_session_t session, unsigned int htype,
- unsigned post, unsigned int incoming, const gnutls_datum_t *msg)
+ unsigned post, unsigned int incoming)
{
gnutls_priority_set_direct(session, "NORMAL:-KX-ALL:+ECDHE-RSA", NULL);
return 0;