Commit 4dc165bfa72df744a80060ca3c912097e7c7cbf9
Committed by
Jan
1 parent
a78f4577
Remove certificate parsing in Entertainment Mode, it does not appear to be neede…
…d to control Hue and it prevents build on older mbedtls versions
Showing
1 changed file
with
0 additions
and
6 deletions
src/EntertainmentMode.cpp
| ... | ... | @@ -122,12 +122,6 @@ EntertainmentMode::EntertainmentMode(Bridge& b, Group& g) |
| 122 | 122 | | Seed the Deterministic Random Bit Generator (RNG) | |
| 123 | 123 | \*-------------------------------------------------*/ |
| 124 | 124 | int ret = mbedtls_ctr_drbg_seed(&tls_context->ctr_drbg, mbedtls_entropy_func, &tls_context->entropy, NULL, 0); |
| 125 | - | |
| 126 | - /*-------------------------------------------------*\ | |
| 127 | - | Parse certificate | | |
| 128 | - \*-------------------------------------------------*/ | |
| 129 | - ret = mbedtls_x509_crt_parse( | |
| 130 | - &tls_context->cacert, (const unsigned char*)mbedtls_test_cas_pem, mbedtls_test_cas_pem_len); | |
| 131 | 125 | } |
| 132 | 126 | |
| 133 | 127 | EntertainmentMode::~EntertainmentMode() | ... | ... |