Remove unreachable statement.
authorPauli <paul.dale@oracle.com>
Fri, 23 Feb 2018 00:55:50 +0000 (10:55 +1000)
committerPauli <paul.dale@oracle.com>
Fri, 23 Feb 2018 00:55:50 +0000 (10:55 +1000)
The return at the end isn't reachable.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5442)

ssl/statem/statem_srvr.c

index 812780a41632fb2c24ad6f34d2975d6717ff893a..d3358196d5f4a5173697a161730de34f58c8da16 100644 (file)
@@ -1150,7 +1150,6 @@ WORK_STATE ossl_statem_server_post_process_message(SSL *s, WORK_STATE wst)
     case TLS_ST_SR_KEY_EXCH:
         return tls_post_process_client_key_exchange(s, wst);
     }
-    return WORK_FINISHED_CONTINUE;
 }
 
 #ifndef OPENSSL_NO_SRP