Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107583426
D40273.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
714 B
Referenced Files
None
Subscribers
None
D40273.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D40273: auditdistd: Avoid calling deprecated OpenSSL functions
Attached
Detach File
Event Timeline
Log In to Comment