Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Mar 2017 23:43:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 217549] databases/tls fails with libressl
Message-ID:  <bug-217549-13-tWXEqXo4fh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-217549-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-217549-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217549

--- Comment #1 from w.schwarzenfeld@utanet.at ---
I tried to change src/tds/tlc.c
 /* some compatibility layer */
-#if OPENSSL_VERSION_NUMBER < 0x1010000FL
+#if OPENSSL_VERSION_NUMBER < 0x1010000FL || LIBRESSL_VERSION_NUMBER
 static inline void
 BIO_set_init(BIO *b, int init)
 {
@@ -590,7 +594,7 @@ tds_ssl_free(BIO *a)
        return 1;
 }

-#if OPENSSL_VERSION_NUMBER < 0x1010000FL
+#if OPENSSL_VERSION_NUMBER < 0x1010000FL || LIBRESSL_VERSION_NUMBER
 static BIO_METHOD tds_method_login[1] =3D {
 {
        BIO_TYPE_MEM,



but this throws:


./.libs/libtdssrv.a(sec_negotiate.o): In function `tds5_negotiate_handle_ne=
xt':
sec_negotiate.c:(.text+0x218): undefined reference to `RSA_get0_key'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[4]: *** [Makefile:433: tdssrv] Error 1
gmake[4]: Leaving directory
'/ram/usr/ports/databases/freetds/work/freetds-1.00.27/src/server'
gmake[3]: *** [Makefile:420: all-recursive] Error 1
gmake[3]: Leaving directory
'/ram/usr/ports/databases/freetds/work/freetds-1.00.27/src'
gmake[2]: *** [Makefile:461: all-recursive] Error 1
gmake[2]: Leaving directory
'/ram/usr/ports/databases/freetds/work/freetds-1.00.27'
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217549-13-tWXEqXo4fh>