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

Doesn't work with AWS-LC/BoringSSL #263

Open
theoparis opened this issue May 9, 2024 · 1 comment
Open

Doesn't work with AWS-LC/BoringSSL #263

theoparis opened this issue May 9, 2024 · 1 comment
Labels
as designed The code works as designed

Comments

@theoparis
Copy link

theoparis commented May 9, 2024

plug_openssl.c:142:32: error: no member named 'A' in 'md4_state_st'
  142 |         { &info_md4, sizeof(MD4_CTX), offsetof(MD4_CTX, A), HASH_INFO_METHODS(MD4) }, /* 128 bit */
      |                                       ^                 ~
/home/theo/Documents/llvm-builds/install/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
   16 | #define offsetof(t, d) __builtin_offsetof(t, d)
      |                        ^                     ~
plug_openssl.c:147:32: error: no member named 'A' in 'md5_state_st'
  147 |         { &info_md5, sizeof(MD5_CTX), offsetof(MD5_CTX, A), HASH_INFO_METHODS(MD5) }, /* 128 bit */
      |                                       ^                 ~
/home/theo/Documents/llvm-builds/install/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
   16 | #define offsetof(t, d) __builtin_offsetof(t, d)
      |                        ^                     ~
plug_openssl.c:152:33: error: no member named 'h0' in 'sha_state_st'
  152 |         { &info_sha1, sizeof(SHA_CTX), offsetof(SHA_CTX, h0),  HASH_INFO_METHODS(SHA1) }, /* 160 bit */
      |                                        ^                 ~~
/home/theo/Documents/llvm-builds/install/lib/clang/19/include/__stddef_offsetof.h:16:24: note: expanded from macro 'offsetof'
   16 | #define offsetof(t, d) __builtin_offsetof(t, d)
      |                        ^                     ~
3 errors generated.
^Cmake[1]: *** [Makefile:185: librhash.so.1.4.4] Interrupt
make: *** [Makefile:121: librhash/librhash.so.1.4.4] Interrupt

Unfortunately I cannot use openssl due to QUIC not being properly supported.
Edit: AWS-LC is a fork of boringssl that is maintained by AWS that deals with stability for the most part.

@rhash
Copy link
Owner

rhash commented May 10, 2024

BoringSSL will not be supported because it does not guarantee API or ABI stability.

As workarround use the following command to configure the project:

./configure --disable-openssl

@rhash rhash added the as designed The code works as designed label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
as designed The code works as designed
Projects
None yet
Development

No branches or pull requests

2 participants