Skip to content

Commit c9037b1

Browse files
committed
Debug OpenSSL / EVP_MD_fetch
1 parent 7554e75 commit c9037b1

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

β€Ž.github/workflows/ci.yamlβ€Ž

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,32 @@ jobs:
8080
- name: Configure Docker Images
8181
run: |
8282
./docker-images/build-all.sh
83+
- name: Debug OpenSSL headers and libs
84+
run: |
85+
echo "πŸ” OpenSSL dev packages installed:"
86+
dpkg -l | grep libssl
87+
88+
echo ""
89+
echo "πŸ“ OpenSSL headers:"
90+
ls -l /usr/include/openssl
91+
grep -A5 EVP_MD_fetch /usr/include/openssl/evp.h || echo "❌ EVP_MD_fetch not found in headers"
92+
93+
echo ""
94+
echo "πŸ”§ pkg-config output:"
95+
pkg-config --modversion openssl || echo "❌ pkg-config not available"
96+
pkg-config --cflags openssl || echo "❌ pkg-config not available"
97+
pkg-config --libs openssl || echo "❌ pkg-config not available"
98+
99+
echo ""
100+
echo "πŸ”— What libssl is linked by default:"
101+
ldconfig -p | grep libssl
102+
103+
echo ""
104+
echo "πŸ§ͺ Try compiling a probe:"
105+
echo '#include <openssl/evp.h>
106+
int main() { EVP_MD_fetch(0, 0, 0); return 0; }' > test.c
107+
gcc -Werror -o test test.c -lssl -lcrypto && echo "βœ… Compiles EVP_MD_fetch" || echo "❌ Compilation failed"
108+
83109
- name: Build and Test ${{ env.PACKAGE_NAME }}
84110
run: |
85111
./gradlew build

0 commit comments

Comments
Β (0)