-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to compile with certificate bundles disabled #312
Comments
First of what are you trying to archive? And second what do you actually expected to happen here? |
I am trying to disable the Certificate Bundle API, since it might not be needed for my use case. I expect esp-idf-svc to compile properly without errors. |
That's fair. I'll fix it shortly. |
the question is, do you mean not using tls itself in your project or not using mbedtls specific ? Our tls module probably should be disabled if we set something like CONFIG_MBEDTLS_TLS_DISABLED=y in sdkconfig ( this currently does not work). Or do you just want to use anothere impl like wolfssl / or use your own certs? |
@Vollbrecht - there is (or there should be) nothing in the Hence why I consider the current compilation issues a bug. |
Also the reporter is disabling just the certificate bundle, which should not disable (I think) neither mbedtls, nor wolfssl. |
Correct. The goal is not to disable TLS entirely; only certificate bundles should be disabled. What I find peculiar is that the constants that cause this problem do not depend on |
@thetek42 Just to mention that I can repro the problem, but I'm a bit at a loss how exactly that could even happen... I'm beginning to suspect some sort of bindgen issue/bug here... |
OK found the root cause - a bug in ESP IDF. Will follow up shortly with more details once I report it and implement a workaround... |
even if it is not the core problem, i was not able to disable the embedtls support for anything via sdkconfigs in my short test, when i run with |
Unless you show exactly how you disable mbedtls support, I can't comment what is going on. |
And then again, the user is NOT disabling mbedtls - he is disabling the certificate bundle, which leads to compilation issues, while it should not. |
|
New release of |
Thanks! |
When compiling a project with
CONFIG_MBEDTLS_CERTIFICATE_BUNDLE=n
,esp-idf-svc
fails to compile with the following error:In esp-idf, these constants are defined here.
The text was updated successfully, but these errors were encountered: