[openssl] master update

beldmit at gmail.com beldmit at gmail.com
Mon Aug 19 18:02:24 UTC 2019


The branch master has been updated
       via  17860288cde76f6e1ee0ff5cfc9fd649b12fc75c (commit)
      from  038b381ecf2a988eee4c7bb21074ed0603303bd1 (commit)


- Log -----------------------------------------------------------------
commit 17860288cde76f6e1ee0ff5cfc9fd649b12fc75c
Author: Dmitry Belyavskiy <beldmit at gmail.com>
Date:   Sun Aug 18 11:29:50 2019 +0300

    Get rid of using deprecated function isascii
    
    Avoid using functions deprecated in some libcs (e.g. uClibc-ng).
    Fixes #9557
    
    Reviewed-by: Bernd Edlinger <bernd.edlinger at hotmail.de>
    Reviewed-by: Paul Dale <paul.dale at oracle.com>
    (Merged from https://github.com/openssl/openssl/pull/9628)

-----------------------------------------------------------------------

Summary of changes:
 apps/s_server.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/s_server.c b/apps/s_server.c
index 3ded4f88cc..28937bd80f 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -470,7 +470,7 @@ static int ssl_servername_cb(SSL *s, int *ad, void *arg)
         BIO_printf(p->biodebug, "Hostname in TLS extension: \"");
         while ((uc = *cp++) != 0)
             BIO_printf(p->biodebug,
-                       isascii(uc) && isprint(uc) ? "%c" : "\\x%02x", uc);
+                       (((uc) & ~127) == 0) && isprint(uc) ? "%c" : "\\x%02x", uc);
         BIO_printf(p->biodebug, "\"\n");
     }
 


More information about the openssl-commits mailing list