Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0
libetpan
libetpan-1.6-openssl11.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libetpan-1.6-openssl11.patch of Package libetpan
diff -ur libetpan-1.6.orig/configure.ac libetpan-1.6/configure.ac --- libetpan-1.6.orig/configure.ac 2014-10-31 22:41:02.000000000 +0100 +++ libetpan-1.6/configure.ac 2017-12-05 22:10:29.592052378 +0100 @@ -200,7 +200,7 @@ AC_CHECK_HEADER(openssl/ssl.h, [ AC_CHECK_LIB(rsaref, main, [SSLLIBS="-lrsaref"]) AC_CHECK_LIB(crypto, main, [SSLLIBS="-lcrypto $SSLLIBS"], [], [$SSLLIBS]) - AC_CHECK_LIB(ssl, SSL_library_init, with_openssl=yes, [], [$SSLLIBS])]) + AC_CHECK_LIB(ssl, SSL_CTX_new, with_openssl=yes, [], [$SSLLIBS])]) if test "x$with_openssl" != "xyes"; then CPPFLAGS="$OCPPFLAGS" LDFLAGS="$OLDFLAGS" diff -ur libetpan-1.6.orig/src/data-types/mailstream_ssl.c libetpan-1.6/src/data-types/mailstream_ssl.c --- libetpan-1.6.orig/src/data-types/mailstream_ssl.c 2014-10-31 22:41:02.000000000 +0100 +++ libetpan-1.6/src/data-types/mailstream_ssl.c 2017-12-05 22:12:59.276059622 +0100 @@ -371,7 +371,7 @@ static int mailstream_openssl_client_cert_cb(SSL *ssl, X509 **x509, EVP_PKEY **pkey) { - struct mailstream_ssl_context * ssl_context = (struct mailstream_ssl_context *)SSL_CTX_get_app_data(ssl->ctx); + struct mailstream_ssl_context * ssl_context = (struct mailstream_ssl_context *)SSL_CTX_get_app_data(SSL_get_SSL_CTX(ssl)); if (x509 == NULL || pkey == NULL) { return 0;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor