Page MenuHomeFreeBSD

D40273.diff
No OneTemporary

D40273.diff

diff --git a/contrib/openbsm/bin/auditdistd/proto_tls.c b/contrib/openbsm/bin/auditdistd/proto_tls.c
--- a/contrib/openbsm/bin/auditdistd/proto_tls.c
+++ b/contrib/openbsm/bin/auditdistd/proto_tls.c
@@ -371,8 +371,10 @@
if (proto_connect(saddr, daddr, timeout, &tcp) == -1)
exit(EX_TEMPFAIL);
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
SSL_load_error_strings();
SSL_library_init();
+#endif
/*
* TODO: On FreeBSD we could move this below sandbox() once libc and
@@ -663,8 +665,10 @@
sockfd = startfd;
tcpfd = startfd + 1;
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
SSL_load_error_strings();
SSL_library_init();
+#endif
sslctx = SSL_CTX_new(TLS_server_method());
if (sslctx == NULL)

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 17, 5:50 AM (22 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15834670
Default Alt Text
D40273.diff (714 B)

Event Timeline