0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

mbedtls: make client mode work too

This commit is contained in:
William Pitcock 2015-12-04 22:41:02 -06:00
parent 539d912b95
commit 162a91d6ed

View file

@ -315,6 +315,7 @@ rb_init_ssl(void)
}
mbedtls_ssl_conf_rng(&client_config, mbedtls_ctr_drbg_random, &ctr_drbg);
mbedtls_ssl_conf_authmode(&client_config, MBEDTLS_SSL_VERIFY_NONE);
return 1;
}