Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Feb 2017 21:40:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216836] security/openvpn Can't compile with LibreSSL 2.5.1
Message-ID:  <bug-216836-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 216836
           Summary: security/openvpn Can't compile with LibreSSL 2.5.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mandree@FreeBSD.org
          Reporter: olivierw1+bugzilla-freebsd@hotmail.com
             Flags: maintainer-feedback?(mandree@FreeBSD.org)
          Assignee: mandree@FreeBSD.org

Created attachment 179658
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D179658&action=
=3Dedit
Fix building problem. Does it run correctly?

Hello,

OpenVPN doesn't build with LibreSSL 2.5.1, getting this error:
"ssl_openssl.c:512:30: error: no member named 'cert' in 'struct ssl_ctx_st'
        ssl.cert =3D ctx->ctx->cert;
                   ~~~~~~~~  ^
1 error generated.
*** Error code 1"

I've attached a patch, inspired from curl's source code:
https://github.com/curl/curl/blob/master/lib/vtls/openssl.c#L603-L619

Unfortunately, I don't have a usable running OpenVPN server, can someone pl=
ease
test if everything works properly?

Best Regards.

--=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-216836-13>