]> git.ozlabs.org Git - ppp.git/commit
pppd/eap-tls.c: fix build with libressl (#338)
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 4 Jul 2022 08:07:03 +0000 (10:07 +0200)
committerGitHub <noreply@github.com>
Mon, 4 Jul 2022 08:07:03 +0000 (18:07 +1000)
commitb0a011bc4abac8cb3de8dfff42b754ed236ecf0f
treefb5a40ab7c747f95c0a45630673d3bf8700cc188
parent72cf4afe3c7ef808bde3f5cea02cb631e2eb6fec
pppd/eap-tls.c: fix build with libressl (#338)

Fix the following build failure with libressl:

eap-tls.c: In function 'ssl_msg_callback':
eap-tls.c:1284:10: error: 'SSL3_RT_HEADER' undeclared (first use in this function); did you mean 'SSL3_RT_ALERT'?
 1284 |     case SSL3_RT_HEADER:
      |          ^~~~~~~~~~~~~~
      |          SSL3_RT_ALERT

Fixes:
 - http://autobuild.buildroot.org/results/7d721833bddf73531fa03b0a626511af6826d0df

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
pppd/eap-tls.c