Mercurial > dovecot > core-2.2
changeset 21356:05b5601081e1
Fix link failure against libressl.
author | Nick Wallingford <nick@wallingford.cc> |
---|---|
date | Fri, 23 Dec 2016 13:58:38 -0800 |
parents | 788bd1e04e3d |
children | 33ff22751f44 |
files | src/lib-ssl-iostream/dovecot-openssl-common.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-ssl-iostream/dovecot-openssl-common.c Tue Apr 12 13:08:05 2016 +0300 +++ b/src/lib-ssl-iostream/dovecot-openssl-common.c Fri Dec 23 13:58:38 2016 -0800 @@ -101,7 +101,7 @@ ERR_remove_thread_state(NULL); #endif ERR_free_strings(); -#if OPENSSL_VERSION_NUMBER >= 0x10100000L +#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined (LIBRESSL_VERSION_NUMBER) OPENSSL_cleanup(); #endif return FALSE;