The .m4 macro for OpenSSL detection shipped with ace-5.7.2 is broken, it should be fixed like following: --- tls.m4 +++ tls.m4 @@ -96,7 +96,11 @@ CRYPTO_set_locking_callback (0); SSLeay_add_ssl_algorithms (); SSL_load_error_strings (); +#if OPENSSL_VERSION_NUMBER >= 0x10000000L +const SSL_METHOD * meth = TLSv1_method (); +#else SSL_METHOD * meth = TLSv1_method (); +#endif SSL_CTX * ctx = SSL_CTX_new (meth); SSL * ssl = SSL_new (ctx); int fd = 2000; // Dummy file descriptor value. It's same problem as here but in different file: http://bugzilla.dre.vanderbilt.edu/show_bug.cgi?id=3666 I actually registered to upstream bugzilla but I don't have authorization to open new bugs, or comment on old ones there. How silly. This is most likely already fixed in upstream, though
+ 13 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> ace-5.7.2.ebuild: + Fix OpenSSL >= 1.0.0 detection (broken m4/tls.m4 check) wrt #328027.