From: Simon Ruderich Date: Sat, 10 Aug 2013 14:56:08 +0000 (+0200) Subject: Add missing default to switch in log_session_information(). X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=6dc3fa355759e49319ce0d6aad75e488c4a16247;p=tlsproxy%2Ftlsproxy.git Add missing default to switch in log_session_information(). --- diff --git a/src/connection.c b/src/connection.c index a473873..e675a82 100644 --- a/src/connection.c +++ b/src/connection.c @@ -935,6 +935,7 @@ static void log_session_information(gnutls_session_t session) { case GNUTLS_CRD_SRP: case GNUTLS_CRD_PSK: case GNUTLS_CRD_ANON: + default: /* This shouldn't occur. */ LOG(WARNING, "unexpected authentication method: %d", cred); break;