[openssl] OpenSSL_1_1_1-stable update

matthias.st.pierre at ncp-e.com matthias.st.pierre at ncp-e.com
Thu Oct 10 17:09:39 UTC 2019


The branch OpenSSL_1_1_1-stable has been updated
       via  4a8392e20353fcd2b69bf4df7bf4d4edcb14605f (commit)
      from  d8e8ed0220f0656a6e7e384ef4d7e1757b48fd95 (commit)


- Log -----------------------------------------------------------------
commit 4a8392e20353fcd2b69bf4df7bf4d4edcb14605f
Author: Viktor Szakats <vszakats at users.noreply.github.com>
Date:   Tue Sep 10 22:47:57 2019 +0000

    Fix unused goto label gcc warning
    
    On systems with undefined AI_ADDRCONFIG and AI_NUMERICHOST:
    
    x86_64-w64-mingw32-gcc  -I. -Icrypto/include -Iinclude -m64 -Wall -O3 -fno-ident ...
    crypto/bio/b_addr.c: In function 'BIO_lookup_ex':
    crypto/bio/b_addr.c:699:7: warning: label 'retry' defined but not used [-Wunused-label]
           retry:
           ^~~~~
    
    Regression from: 3f91ede9aea70774d9b5d509bc76d484ebaff6aa
    
    Reviewed-by: Paul Dale <paul.dale at oracle.com>
    Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre at ncp-e.com>
    (Merged from https://github.com/openssl/openssl/pull/9856)
    
    (cherry picked from commit be66a15cc1a4c3cc68fa854ceea321ca57f96304)

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

Summary of changes:
 crypto/bio/b_addr.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/crypto/bio/b_addr.c b/crypto/bio/b_addr.c
index 5b9a485a80..d11268b6dc 100644
--- a/crypto/bio/b_addr.c
+++ b/crypto/bio/b_addr.c
@@ -696,7 +696,9 @@ int BIO_lookup_ex(const char *host, const char *service, int lookup_type,
         /* Note that |res| SHOULD be a 'struct addrinfo **' thanks to
          * macro magic in bio_local.h
          */
+# if defined(AI_ADDRCONFIG) && defined(AI_NUMERICHOST)
       retry:
+# endif
         switch ((gai_ret = getaddrinfo(host, service, &hints, res))) {
 # ifdef EAI_SYSTEM
         case EAI_SYSTEM:


More information about the openssl-commits mailing list