[openssl] master update

Dr. Paul Dale pauli at openssl.org
Sun Feb 16 23:24:44 UTC 2020


The branch master has been updated
       via  af6c6c21e66f5806062def925e6acdf7d1a0c15d (commit)
      from  8083fd3a183d4c881d6b15727cbc6cb7faeb3280 (commit)


- Log -----------------------------------------------------------------
commit af6c6c21e66f5806062def925e6acdf7d1a0c15d
Author: Wataru Ashihara <wataash at wataash.com>
Date:   Sat Feb 1 15:01:40 2020 +0900

    crypto/bn: fix debug build
    
    Fixes:
    
        gcc  -I. -Iinclude -Iproviders/common/include -Iproviders/implementations/include -Icrypto/include  -DSTATIC_LEGACY -DBN_DEBUG -DREF_DEBUG     -DCONF_DEBUG -DBN_CTX_DEBUG -DOPENSSL_NO_ASM -ggdb -g2 -Wformat -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror      -DOPENSSL_BUILDING_OPENSSL -DOPENSSLDIR="\"/home/wsh/opt/openssl/ssl\"" -DENGINESDIR="\"/home/wsh/opt/openssl/lib/engines-3\""     -DMODULESDIR="\"/home/wsh/opt/openssl/lib/ossl-modules\""   -MMD -MF crypto/bn/libcrypto-lib-bn_conv.d.tmp -MT crypto/bn/libcrypto-lib-bn_conv.o -c -o crypto/bn/libcrypto-lib-bn_conv.o crypto/bn/bn_conv.c
        In file included from crypto/bn/bn_conv.c:12:
        crypto/bn/bn_conv.c: In function 'BN_hex2bn':
        crypto/bn/bn_local.h:178:31: error: implicit declaration of function 'ossl_assert'; did you mean 'ossl_ssize_t'? [-Werror=implicit-function-declaration]
                                 (void)ossl_assert((_top == 0 && !_bnum2->neg) || \
                                       ^~~~~~~~~~~
        crypto/bn/bn_conv.c:188:5: note: in expansion of macro 'bn_check_top'
             bn_check_top(ret);
             ^~~~~~~~~~~~
    
    CLA: trivial
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre at ncp-e.com>
    Reviewed-by: Paul Dale <paul.dale at oracle.com>
    (Merged from https://github.com/openssl/openssl/pull/10993)

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

Summary of changes:
 crypto/bn/bn_local.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/crypto/bn/bn_local.h b/crypto/bn/bn_local.h
index ec90338510..1c9c018cf2 100644
--- a/crypto/bn/bn_local.h
+++ b/crypto/bn/bn_local.h
@@ -22,6 +22,7 @@
 # endif
 
 # include "crypto/bn.h"
+# include "internal/cryptlib.h"
 
 /*
  * These preprocessor symbols control various aspects of the bignum headers


More information about the openssl-commits mailing list