Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jul 2021 08:20:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 257403] net/freeradius3: fails to build with libressl
Message-ID:  <bug-257403-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 257403
           Summary: net/freeradius3: fails to build with libressl
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi@FreeBSD.org
          Reporter: felix@palmen-it.de
             Flags: maintainer-feedback?(zi@FreeBSD.org)
          Assignee: zi@FreeBSD.org

Created attachment 226672
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D226672&action=
=3Dedit
fix building with libressl

Building with libressl fails with the following errors:

---

src/main/cb.c:68:28: error: use of undeclared identifier 'TLS_ST_SR_CLNT_HE=
LLO'
                        if (SSL_get_state(s) =3D=3D TLS_ST_SR_CLNT_HELLO) {
                                                ^
src/main/cb.c:178:29: error: use of undeclared identifier
'SSL3_RT_INNER_CONTENT_TYPE'
        } else if (content_type =3D=3D SSL3_RT_INNER_CONTENT_TYPE && buf[0]=
 =3D=3D
SSL3_RT_APPLICATION_DATA) {
                                   ^
1 warning and 2 errors generated.

---

ld: error: undefined symbol: SSL_CTX_set_max_early_data
>>> referenced by tls.c
>>>               build/objs/src/main/tls.o:(tls_init_ctx)
ld: error: undefined symbol: SSL_CTX_set_max_early_data
>>> referenced by tls.c
>>>               build/objs/src/main/tls.o:(tls_init_ctx)

ld: error: undefined symbol: FIPS_mode
>>> referenced by tls.c
>>>               build/objs/src/main/tls.o:(load_dh_params)
LINK build/bin/radattr

ld: error: undefined symbol: FIPS_mode
>>> referenced by tls.c
>>>               build/objs/src/main/tls.o:(load_dh_params)

---

Attached patch fixes the build.

--=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-257403-7788>