[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

Richard Levitte levitte at openssl.org
Thu May 11 16:19:17 UTC 2017


The branch OpenSSL_1_1_0-stable has been updated
       via  01b30563b97d01477e2ab577a8a268991696c6e1 (commit)
      from  d9d4122dd15c388a245c4edb28144ea919f9ddf1 (commit)


- Log -----------------------------------------------------------------
commit 01b30563b97d01477e2ab577a8a268991696c6e1
Author: Patrick Steuer <psteuer at mail.de>
Date:   Sat Oct 15 16:54:52 2016 +0200

    Fix strict-warnings build
    
    crypto/asn1/a_strex.c: Type of width variable in asn1_valid_host
    function  needs to be changed from char to signed char to avoid
    build error due to '-Werror=type-limits'.
    
    Signed-off-by: Patrick Steuer <psteuer at mail.de>
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    Reviewed-by: Matt Caswell <matt at openssl.org>
    CLA: trivial
    (cherry picked from commit 34657a8da2ead453460d668771984432cc767044)

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

Summary of changes:
 crypto/asn1/a_strex.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/asn1/a_strex.c b/crypto/asn1/a_strex.c
index 9839f5c..1bc0679 100644
--- a/crypto/asn1/a_strex.c
+++ b/crypto/asn1/a_strex.c
@@ -601,7 +601,7 @@ int asn1_valid_host(const ASN1_STRING *host)
     const unsigned char *hostptr = host->data;
     int type = host->type;
     int i;
-    char width = -1;
+    signed char width = -1;
     unsigned short chflags = 0, prevchflags;
 
     if (type > 0 && type < 31)


More information about the openssl-commits mailing list