A style tweak based on feedback received
authorMatt Caswell <matt@openssl.org>
Tue, 1 Nov 2016 00:37:23 +0000 (00:37 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 9 Nov 2016 16:03:08 +0000 (16:03 +0000)
Replace a bare ";" with "continue;" for the body of a for loop.

Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/statem/statem_lib.c

index be604dd..117462a 100644 (file)
@@ -1046,7 +1046,7 @@ int ssl_choose_server_version(SSL *s, CLIENTHELLO_MSG *hello)
             for (vent = table;
                  vent->version != 0 && vent->version != (int)candidate_vers;
                  ++vent)
-                ;
+                continue;
             if (vent->version != 0 && vent->smeth != NULL) {
                 const SSL_METHOD *method;