This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch 1.3.x
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git


The following commit(s) were added to refs/heads/1.3.x by this push:
     new 6ddbab7fe Add missing newlines to printf statements
6ddbab7fe is described below

commit 6ddbab7fe4ac9e5c82ec26c5a2ba66ead8b405bd
Author: Michael Osipov <micha...@apache.org>
AuthorDate: Thu May 16 16:35:38 2024 +0200

    Add missing newlines to printf statements
---
 native/src/sslcontext.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/native/src/sslcontext.c b/native/src/sslcontext.c
index 660aed768..e3d67131d 100644
--- a/native/src/sslcontext.c
+++ b/native/src/sslcontext.c
@@ -721,13 +721,13 @@ TCN_IMPLEMENT_CALL(jboolean, SSLContext, 
setCACertificate)(TCN_STDARGS,
                 BIO_printf(c->bio_os,
                             "[WARN] Oops, you want to request client "
                             "authentication, but no CAs are known for "
-                            "verification!?");
+                            "verification!?\n");
             }
             else {
                 fprintf(stderr,
                         "[WARN] Oops, you want to request client "
                         "authentication, but no CAs are known for "
-                        "verification!?");
+                        "verification!?\n");
             }
 
         }
@@ -1680,10 +1680,10 @@ TCN_IMPLEMENT_CALL(void, SSLContext, 
setSessionTicketKeys)(TCN_STDARGS, jlong ct
 
     if ((*e)->GetArrayLength(e, keys) != TICKET_KEYS_SIZE) {
         if (c->bio_os) {
-            BIO_printf(c->bio_os, "[ERROR] Session ticket keys provided were 
wrong size.");
+            BIO_printf(c->bio_os, "[ERROR] Session ticket keys provided were 
wrong size.\n");
         }
         else {
-            fprintf(stderr, "[ERROR] Session ticket keys provided were wrong 
size.");
+            fprintf(stderr, "[ERROR] Session ticket keys provided were wrong 
size.\n");
         }
         exit(1);
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to