From 553e44ce7e541a9e1404b1ead92be0753668710a Mon Sep 17 00:00:00 2001 From: Andrew Stormont Date: Fri, 1 Jun 2018 12:10:19 +0100 Subject: 6429 SMB domain join doesn't work with libreSSL 9546 Restore support for building against LibreSSL 9547 Remove KMF dependency on insecure encryption types Reviewed by: Andy Fiddaman Reviewed by: Vitaliy Gusev Reviewed by: Ken Mays Approved by: Dan McDonald --- usr/src/cmd/sendmail/src/tls.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr/src/cmd/sendmail') diff --git a/usr/src/cmd/sendmail/src/tls.c b/usr/src/cmd/sendmail/src/tls.c index 605d91635a..ab17456d78 100644 --- a/usr/src/cmd/sendmail/src/tls.c +++ b/usr/src/cmd/sendmail/src/tls.c @@ -3,6 +3,7 @@ * All rights reserved. * Copyright (c) 2012, OmniTI Computer Consulting, Inc. All rights reserved. * Copyright 2018 OmniOS Community Edition (OmniOSce) Association. + * Copyright 2018 RackTop Systems. * * By using this file, you agree to the terms and conditions set * forth in the LICENSE file which can be found at the top level of @@ -39,7 +40,7 @@ static int tls_verify_log __P((int, X509_STORE_CTX *, char *)); # include # include -#if OPENSSL_VERSION_NUMBER < 0x10100000L +#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) /* * This compatibility function is taken from @@ -319,7 +320,7 @@ bool init_tls_library() { /* basic TLS initialization, ignore result for now */ -#if OPENSSL_VERSION_NUMBER < 0x10100000L +#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) /* No longer available (nor necessary) in OpenSSL 1.1 */ SSL_library_init(); SSL_load_error_strings(); -- cgit v1.2.3