From 3e9f5e0b67a6b74bd5771e92079639a9ff02f194 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Sun, 18 Apr 2021 11:05:36 -0600 Subject: * Fixes to the support for ssl ciphers (variable could be set in alpine, but never seen by c-client.) --- imap/src/osdep/unix/ssl_unix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'imap/src') diff --git a/imap/src/osdep/unix/ssl_unix.c b/imap/src/osdep/unix/ssl_unix.c index 841077cc..b43842df 100644 --- a/imap/src/osdep/unix/ssl_unix.c +++ b/imap/src/osdep/unix/ssl_unix.c @@ -1,5 +1,5 @@ /* ======================================================================== - * Copyright 2019 Eduardo Chappa + * Copyright 2019-2021 Eduardo Chappa * Copyright 2008-2009 Mark Crispin * ======================================================================== */ @@ -417,6 +417,7 @@ static char *ssl_start_work (SSLSTREAM *stream,char *host,unsigned long flags) /* set cipher list */ ciphers = (char *) mail_parameters (NIL,GET_SSLCIPHERS,NIL); if(ciphers != NIL + && *ciphers != '\0' && !SSL_CTX_set_cipher_list (stream->context,ciphers)) return "No listed ciphers recognized"; /* if a non-standard path desired */ -- cgit v1.2.3-70-g09d2