Is `SSL_CTX_set_dh_auto` specified to be a macro in the API?
If not, maybe it would be better to rely on some library version check, because the ifdefs on something that can be changed to a function name without notice can have hidden impact in the future.