Skip to content
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

libmbedtls 3 not supported #252

Closed
concatime opened this issue Feb 17, 2022 · 1 comment · Fixed by #290
Closed

libmbedtls 3 not supported #252

concatime opened this issue Feb 17, 2022 · 1 comment · Fixed by #290

Comments

@concatime
Copy link

Hi,
I know this package is not supported, but I just want to say that it does not compile with libmbedtls v3,

@dnewhall
Copy link

dnewhall commented Feb 6, 2024

In case someone else tries to fix this, this is what needs to be done, as far as I can tell:
(See https://github.com/Mbed-TLS/mbedtls/blob/development/docs/3.0-migration-guide.md)
In lib/ssl/ssl.c:

  • Remove #include <mbedtls/net.h>
  • The field ext_types in struct mbedtls_x509_crt is now private. There should be some function/macro now to test it.
  • mbedtls_pk_parse_key takes an extra argument for a random state.
  • mbedtls_pk_sign takes a size for the buffer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants