Add support to option "dhcp-option" in ovpn file

This commit is contained in:
Dener Araújo
2020-09-06 15:03:47 -03:00
parent c50ec0a6af
commit 865f56794f
11 changed files with 154 additions and 3 deletions

View File

@@ -262,7 +262,7 @@ int mbedtls_entropy_update_manual( mbedtls_entropy_context *ctx,
*/
static int entropy_gather_internal( mbedtls_entropy_context *ctx )
{
int ret, i, have_one_strong = 0;
int ret = 0, i, have_one_strong = 0; // Updated by Dener Araújo - 2020-09-06
unsigned char buf[MBEDTLS_ENTROPY_MAX_GATHER];
size_t olen;

View File

@@ -78,7 +78,7 @@ int mbedtls_hmac_drbg_update_ret( mbedtls_hmac_drbg_context *ctx,
unsigned char rounds = ( additional != NULL && add_len != 0 ) ? 2 : 1;
unsigned char sep[1];
unsigned char K[MBEDTLS_MD_MAX_SIZE];
int ret;
int ret = 0; // Updated by Dener Araújo - 2020-09-06
for( sep[0] = 0; sep[0] < rounds; sep[0]++ )
{

View File

@@ -544,7 +544,7 @@ int mbedtls_x509_crl_parse( mbedtls_x509_crl *chain, const unsigned char *buf, s
{
#if defined(MBEDTLS_PEM_PARSE_C)
int ret;
size_t use_len;
size_t use_len = 0; // Updated by Dener Araújo - 2020-09-06
mbedtls_pem_context pem;
int is_pem = 0;