mirror of
https://github.com/paulusmack/ppp.git
synced 2024-11-26 21:15:04 +08:00
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>
This commit is contained in:
parent
72cf4afe3c
commit
b0a011bc4a
@ -61,7 +61,7 @@
|
||||
#include "mppe.h"
|
||||
#include "pathnames.h"
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
#define SSL3_RT_HEADER 0x100
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user