mbedtls: make client mode work too
This commit is contained in:
parent
539d912b95
commit
162a91d6ed
1 changed files with 1 additions and 0 deletions
|
@ -315,6 +315,7 @@ rb_init_ssl(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
mbedtls_ssl_conf_rng(&client_config, mbedtls_ctr_drbg_random, &ctr_drbg);
|
mbedtls_ssl_conf_rng(&client_config, mbedtls_ctr_drbg_random, &ctr_drbg);
|
||||||
|
mbedtls_ssl_conf_authmode(&client_config, MBEDTLS_SSL_VERIFY_NONE);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue