summaryrefslogtreecommitdiffstats
path: root/tcpd
diff options
context:
space:
mode:
authorSam Varshavchik2020-12-06 20:02:59 -0500
committerSam Varshavchik2020-12-06 20:06:00 -0500
commit84960af3aba7d66dfad62554591d9ab23ca3b890 (patch)
tree08f237c7d1de3bd37e97f06885da176ac2178298 /tcpd
parent4ec018fb1ea69a5eab159f090e0512856f471ccc (diff)
downloadcourier-libs-84960af3aba7d66dfad62554591d9ab23ca3b890.tar.bz2
LibreSSL compilation error.
Diffstat (limited to 'tcpd')
-rw-r--r--tcpd/libcouriertls.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tcpd/libcouriertls.c b/tcpd/libcouriertls.c
index 246b90d..39bfb76 100644
--- a/tcpd/libcouriertls.c
+++ b/tcpd/libcouriertls.c
@@ -62,6 +62,11 @@ struct proto_ops {
const SSL_METHOD * (*m)();
int o;
};
+
+#ifndef SSL_OP_NORENEGOTIATION
+#define SSL_OP_NORENEGOTIATION 0
+#endif
+
struct proto_ops op_list[] =
{
#ifdef SSL_OP_NO_TLSv1