]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-ssl-iostream: ssl_ctx_use_certificate_chain() - Remove stray whitespaces
authorMarco Bettini <marco.bettini@open-xchange.com>
Tue, 15 Mar 2022 15:02:56 +0000 (15:02 +0000)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Tue, 22 Mar 2022 19:33:06 +0000 (19:33 +0000)
src/lib-ssl-iostream/iostream-openssl-context.c

index 536889ebc53e2d780270d8d33392edc160063d72..10b9c44504c762bbf2f7790c0fe56544acce16b1 100644 (file)
@@ -215,7 +215,7 @@ static int ssl_ctx_use_certificate_chain(SSL_CTX *ctx, const char *cert)
                X509 *ca;
                int r;
                unsigned long err;
-               
+
                while ((ca = PEM_read_bio_X509(in,NULL,NULL,NULL)) != NULL) {
 #ifdef HAVE_SSL_CTX_ADD0_CHAIN_CERT
                        r = SSL_CTX_add0_chain_cert(ctx, ca);
@@ -232,7 +232,7 @@ static int ssl_ctx_use_certificate_chain(SSL_CTX *ctx, const char *cert)
                err = ERR_peek_last_error();
                if (ERR_GET_LIB(err) == ERR_LIB_PEM && ERR_GET_REASON(err) == PEM_R_NO_START_LINE)
                        ERR_clear_error();
-               else 
+               else
                        ret = 0; /* some real error */
                }