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

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


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

commit 6a6a6b2395036c6a6cabb2b8af22aa329e438436
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 a7951f53f..9fbe7a19b 100644
--- a/native/src/sslcontext.c
+++ b/native/src/sslcontext.c
@@ -720,13 +720,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");
             }
 
         }
@@ -1679,10 +1679,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