Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 502474 Details for
Bug 605026
www-client/elinks-0.12_pre6-r2 with dev-libs/openssl-1.1.0c - configure: error: OpenSSL not found - conftest.c:151: undefined reference to `SSLeay_add_ssl_algorithms'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Suggested patch
ssl.patch (text/plain), 1.01 KB, created by
Felix Janda
on 2017-11-04 11:30:47 UTC
(
hide
)
Description:
Suggested patch
Filename:
MIME Type:
Creator:
Felix Janda
Created:
2017-11-04 11:30:47 UTC
Size:
1.01 KB
patch
obsolete
>--- elinks-0.12pre6-orig/configure.in >+++ elinks-0.12pre6/configure.in >@@ -1026,6 +1026,9 @@ > if test "$cf_result" != yes; then > AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <openssl/ssl.h>]], [[SSLeay_add_ssl_algorithms()]])],[cf_result=yes],[cf_result=no]) > fi >+ if test "$cf_result" != yes; then >+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <openssl/opensslv.h>]], [[OpenSSL_version_num()]])],[cf_result=yes],[cf_result=no]) >+ fi > fi > done > >--- elinks-0.12pre6-orig/src/network/ssl/ssl.c >+++ elinks-0.12pre6/src/network/ssl/ssl.c >@@ -7,6 +7,7 @@ > #ifdef CONFIG_OPENSSL > #include <openssl/ssl.h> > #include <openssl/rand.h> >+#include <openssl/opensslv.h> > #elif defined(CONFIG_GNUTLS) > #include <gnutls/gnutls.h> > #include <gnutls/x509.h> >@@ -61,7 +62,9 @@ > } > #endif > >+#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERION_NUMBER > SSLeay_add_ssl_algorithms(); >+#endif > context = SSL_CTX_new(SSLv23_client_method()); > SSL_CTX_set_options(context, SSL_OP_ALL); > SSL_CTX_set_default_verify_paths(context);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 605026
:
459136
|
459138
|
459238
|
459240
|
459242
|
500770
| 502474 |
522472