remove debug message

This commit is contained in:
Jeff Epler 2022-10-05 14:57:04 -05:00
parent 14f2309b6f
commit 4a9389d347
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
1 changed files with 0 additions and 2 deletions

View File

@ -172,12 +172,10 @@ ssl_sslsocket_obj_t *common_hal_ssl_sslcontext_wrap_socket(ssl_sslcontext_obj_t
}
if (self->crt_bundle_attach != NULL) {
mp_printf(&mp_plat_print, "attaching bundle\n");
mbedtls_ssl_conf_authmode(&o->conf, MBEDTLS_SSL_VERIFY_REQUIRED);
self->crt_bundle_attach(&o->conf);
// } else if(self->cacert_buf && self->cacert_bytes) { // TODO: user bundle
} else {
mp_printf(&mp_plat_print, "yolo\n");
mbedtls_ssl_conf_authmode(&o->conf, MBEDTLS_SSL_VERIFY_NONE);
}
mbedtls_ssl_conf_rng(&o->conf, mbedtls_ctr_drbg_random, &o->ctr_drbg);