]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-ssl-iostream: Fix indent
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 8 Aug 2025 11:42:48 +0000 (14:42 +0300)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Mon, 11 Aug 2025 07:47:35 +0000 (07:47 +0000)
src/lib-ssl-iostream/iostream-openssl.c

index 8e04006c743d2ddac5d1c91afd20c707c31ba7f1..cb05fcbf60c7bd0e71c93312c59ccefbc91d7c53 100644 (file)
@@ -623,8 +623,8 @@ static int openssl_iostream_handshake(struct ssl_iostream *ssl_io)
                        openssl_iostream_set_error(ssl_io, error);
                        ssl_io->handshake_failed = TRUE;
                }
-       } else if (ssl_io->connected_host != NULL && !ssl_io->handshake_failed &&
-                 !ssl_io->allow_invalid_cert) {
+       } else if (ssl_io->connected_host != NULL && !ssl_io->handshake_failed &&
+                  !ssl_io->allow_invalid_cert) {
                if (ssl_iostream_check_cert_validity(ssl_io, ssl_io->connected_host,
                                                     &reason) != SSL_IOSTREAM_CERT_VALIDITY_OK) {
                        openssl_iostream_set_error(ssl_io, reason);