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

Build of the current master fails: error: implicit declaration of function 'mbedtls_pk_load_file'; did you mean 'mbedtls_mpi_read_file'? [-Wimplicit-function-declaration] #537

Open
barracuda156 opened this issue Aug 9, 2024 · 0 comments

Comments

@barracuda156
Copy link

/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-e4f0a27ebd1c07ebed68674258da9556fb92b46b/lib/mbedtls_sign.c: In function 'ptls_mbedtls_load_private_key':
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/picotls-e4f0a27ebd1c07ebed68674258da9556fb92b46b/lib/mbedtls_sign.c:619:16: error: implicit declaration of function 'mbedtls_pk_load_file'; did you mean 'mbedtls_mpi_read_file'? [-Wimplicit-function-declaration]
  619 |     if ((ret = mbedtls_pk_load_file(pem_fname, &buf, &n)) != 0) {
      |                ^~~~~~~~~~~~~~~~~~~~
      |                mbedtls_mpi_read_file
make[2]: *** [CMakeFiles/picotls-mbedtls.dir/lib/mbedtls_sign.c.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_picotls/picotls/work/build'
make[1]: *** [CMakeFiles/picotls-mbedtls.dir/all] Error 2
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

No branches or pull requests

1 participant