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

mbedtls - build fail #313

Open
SmallLars opened this issue May 30, 2023 · 2 comments
Open

mbedtls - build fail #313

SmallLars opened this issue May 30, 2023 · 2 comments

Comments

@SmallLars
Copy link

See comments in https://aur.archlinux.org/packages/dislocker-git

@pinoverclock
Copy link

sed -i 's/^#include "mbedtls\/config.h"/#include "mbedtls\/mbedtls_config.h"/;s/# define SHA256(input, len, output) mbedtls_sha256_ret(input, len, output, 0)/# define SHA256(input, len, output) mbedtls_sha256(input, len, output, 0)/' include/dislocker/ssl_bindings.h

Will do the trick

@GoelBiju
Copy link

GoelBiju commented Nov 7, 2023

sed -i 's/^#include "mbedtls\/config.h"/#include "mbedtls\/mbedtls_config.h"/;s/# define SHA256(input, len, output) mbedtls_sha256_ret(input, len, output, 0)/# define SHA256(input, len, output) mbedtls_sha256(input, len, output, 0)/' include/dislocker/ssl_bindings.h

Will do the trick

This works fine for me, I have used gsed to run on my M1 Macbook on macOS 14.1 Sonoma.

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

3 participants