]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/commitdiff
Add missing default to switch in log_session_information().
authorSimon Ruderich <simon@ruderich.org>
Sat, 10 Aug 2013 14:56:08 +0000 (16:56 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 10 Aug 2013 14:56:08 +0000 (16:56 +0200)
src/connection.c

index a473873d65800ce890be26c5ffbc27fe989593d2..e675a825c72b15297af939bb118093c3c0f2bb9e 100644 (file)
@@ -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;