gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 44/173: STARTTLS: Don't print response character in


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 44/173: STARTTLS: Don't print response character in denied messages
Date: Fri, 24 Feb 2017 14:01:06 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.53.1
in repository gnurl.

commit a18db792624a677221d895f4662a06b5016e4eee
Author: Jay Satiro <address@hidden>
AuthorDate: Thu Jan 12 02:22:41 2017 -0500

    STARTTLS: Don't print response character in denied messages
    
    Both IMAP and POP3 response characters are used internally, but when
    appended to the STARTTLS denial message likely could confuse the user.
    
    Closes https://github.com/curl/curl/pull/1203
---
 lib/imap.c | 2 +-
 lib/pop3.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/imap.c b/lib/imap.c
index 78dc6fa2d..980002d97 100644
--- a/lib/imap.c
+++ b/lib/imap.c
@@ -952,7 +952,7 @@ static CURLcode imap_state_starttls_resp(struct connectdata 
*conn,
 
   if(imapcode != 'O') {
     if(data->set.use_ssl != CURLUSESSL_TRY) {
-      failf(data, "STARTTLS denied. %c", imapcode);
+      failf(data, "STARTTLS denied");
       result = CURLE_USE_SSL_FAILED;
     }
     else
diff --git a/lib/pop3.c b/lib/pop3.c
index 9bb691c9b..433421a7b 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -799,7 +799,7 @@ static CURLcode pop3_state_starttls_resp(struct connectdata 
*conn,
 
   if(pop3code != '+') {
     if(data->set.use_ssl != CURLUSESSL_TRY) {
-      failf(data, "STARTTLS denied. %c", pop3code);
+      failf(data, "STARTTLS denied");
       result = CURLE_USE_SSL_FAILED;
     }
     else

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]