Skip to content

Conversation

@TheLinuxKitten
Copy link

In OpenBSD 6.1 the value of OPENSSL_VERSION_NUMBER is 0x20000000L. I'm not sure, but it seems that OpenBSD has a different OpenSSL library.

@vshabanov
Copy link
Collaborator

I think better fix would be to add following lines to HsOpenSSL.h:

#if (defined LIBRESSL_VERSION_NUMBER && OPENSSL_VERSION_NUMBER == 0x20000000L) #undef OPENSSL_VERSION_NUMBER #define OPENSSL_VERSION_NUMBER 0x1000107fL #endif 

I took this idea from https://forum.nginx.org/read.php?29,265780
Could you try -- whether it works fine in OpenBSD?

@TheLinuxKitten
Copy link
Author

+1
Your idea is a better and clean solution. I'll create a new pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants