Hi,

Am 10.11.2016 um 18:27 schrieb Thomas Heil:
Hi,

Iam facing a problem when building haproxy 1.6.9 with ssl for mips_24kc
with musl 1.1.15.
Openssl was building fine, but the function "ERR_remove_state(0)" does
not exist but
ERR_remove_thread_state(0); is available.

So does anybody know whats the difference between?

Also see:
https://www.openssl.org/docs/man1.1.0/crypto/ERR_remove_state.html


ERR_remove_state() was deprecated in OpenSSL 1.0.0
ERR_remove_thread_state() was deprecated in OpenSSL 1.1.0


By just switching from one call to the other we break 0.9.8 compatibility, which is kind-of OK for haproxy 1.7 but not at all for haproxy 1.6.



OpenSSL version is 1.0.2j.

I assume this is a non-standard build, maybe with the no-deprecated option or something?

Deprecated calls are still supposed to work; and OpenSSL 1.0.2 is widely used. In fact, I assume haproxy 1.7-dev6 with openssl 1.1.0 support still builds fine even with ERR_remove_state(), otherwise Dirkjan would have patched this already.



Lukas










Reply via email to