Remove goto inside an if(0) block

There were a dozen-plus instances of this construct:
   if (0) { label: ..... }

Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
Rich Salz
2015-05-01 14:29:48 -04:00
parent 190c8c60c1
commit 666964780a
14 changed files with 84 additions and 107 deletions

View File

@@ -2838,13 +2838,11 @@ SSL *SSL_dup(SSL *s)
}
}
}
return ret;
if (0) {
err:
SSL_free(ret);
ret = NULL;
}
return (ret);
SSL_free(ret);
return NULL;
}
void ssl_clear_cipher_ctx(SSL *s)