Still FAILED build of OpenSSL branch master with options -d --strict-warnings no-dh

OpenSSL run-checker openssl at openssl.org
Fri Dec 13 02:41:46 UTC 2019


Platform and configuration command:

$ uname -a
Linux run 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$ CC=clang ../openssl/config -d --strict-warnings no-dh

Commit log since last time:

d2b194d78f Various missing-link fixes
dc7aa02900 PROV: Move AES_GCM specialisation away from common cipher header
e85f3a14f8 PROV: Move AES_CCM specialisation away from common cipher header
3dbc5156b0 chunk 6 of CMP contribution to OpenSSL
0402c90ff9 rand_lib.c: fix null pointer dereferences after RAND_get_rand_method() failure
f5e77bb0fa Add support for otherName:NAIRealm in output
77fedcdc8c Enrich arm64 tests in Travis matrix
20c09f0034 Fix docs for CRYPTO_secure_allocated
79c44b4e30 Fix some typos
2ff16afc17 Optimize AES-ECB mode in OpenSSL for both aarch64 and aarch32
ef1e59ed83 More testing for sign/verify through `dgst` and `pkeyutl`
81722fdf2e More testing for CLI usage of Ed25519 and Ed448 keys
0984041283 Configure: use ELFv2 ABI on some ppc64 big endian systems
34ab13b7d8 crypto/perlasm/ppc-xlate.pl: add linux64v2 flavour
68a51d59a2 Move providers/common/{ciphers,digests}/* to providers/implementations

Build log ended with (last 100 lines):

const BIGNUM *DSA_get0_pub_key(const DSA *d);
              ^
../openssl/providers/implementations/serializers/serializer_dh.c:48:19: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
        pub_key = DH_get0_pub_key(dh);
                  ^
../openssl/providers/implementations/serializers/serializer_dh.c:48:17: error: incompatible integer to pointer conversion assigning to 'const BIGNUM *' (aka 'const struct bignum_st *') from 'int' [-Werror,-Wint-conversion]
        pub_key = DH_get0_pub_key(dh);
                ^ ~~~~~~~~~~~~~~~~~~~
../openssl/providers/implementations/serializers/serializer_dh.c:53:9: error: implicit declaration of function 'DH_get0_p' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    p = DH_get0_p(dh);
        ^
../openssl/providers/implementations/serializers/serializer_dh.c:53:9: note: did you mean 'DSA_get0_p'?
../openssl/include/openssl/dsa.h:187:15: note: 'DSA_get0_p' declared here
const BIGNUM *DSA_get0_p(const DSA *d);
              ^
../openssl/providers/implementations/serializers/serializer_dh.c:53:9: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
    p = DH_get0_p(dh);
        ^
../openssl/providers/implementations/serializers/serializer_dh.c:53:7: error: incompatible integer to pointer conversion assigning to 'const BIGNUM *' (aka 'const struct bignum_st *') from 'int' [-Werror,-Wint-conversion]
    p = DH_get0_p(dh);
      ^ ~~~~~~~~~~~~~
../openssl/providers/implementations/serializers/serializer_dh.c:54:7: error: incompatible integer to pointer conversion assigning to 'const BIGNUM *' (aka 'const struct bignum_st *') from 'int' [-Werror,-Wint-conversion]
    g = DH_get0_p(dh);
      ^ ~~~~~~~~~~~~~
../openssl/providers/implementations/serializers/serializer_dh.c:104:26: error: implicit declaration of function 'i2d_DHxparams' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        params->length = i2d_DHxparams(dh, &params->data);
                         ^
../openssl/providers/implementations/serializers/serializer_dh.c:104:26: note: did you mean 'i2d_DSAparams'?
../openssl/include/openssl/dsa.h:120:1: note: 'i2d_DSAparams' declared here
DECLARE_ASN1_ENCODE_FUNCTIONS_only(DSA, DSAparams)
^
../openssl/include/openssl/asn1.h:239:13: note: expanded from macro 'DECLARE_ASN1_ENCODE_FUNCTIONS_only'
        int i2d_##name(const type *a, unsigned char **out);
            ^
<scratch space>:145:1: note: expanded from here
i2d_DSAparams
^
../openssl/providers/implementations/serializers/serializer_dh.c:104:26: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
        params->length = i2d_DHxparams(dh, &params->data);
                         ^
../openssl/providers/implementations/serializers/serializer_dh.c:106:26: error: implicit declaration of function 'i2d_DHparams' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        params->length = i2d_DHparams(dh, &params->data);
                         ^
../openssl/providers/implementations/serializers/serializer_dh.c:106:26: note: did you mean 'i2d_DHxparams'?
../openssl/providers/implementations/serializers/serializer_dh.c:104:26: note: 'i2d_DHxparams' declared here
        params->length = i2d_DHxparams(dh, &params->data);
                         ^
../openssl/providers/implementations/serializers/serializer_dh.c:106:26: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
        params->length = i2d_DHparams(dh, &params->data);
                         ^
../openssl/providers/implementations/serializers/serializer_dh.c:122:48: error: implicit declaration of function 'DH_get0_pub_key' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    ASN1_INTEGER *pub_key = BN_to_ASN1_INTEGER(DH_get0_pub_key(dh), NULL);
                                               ^
../openssl/providers/implementations/serializers/serializer_dh.c:122:48: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const BIGNUM *' (aka 'const struct bignum_st *') [-Werror,-Wint-conversion]
    ASN1_INTEGER *pub_key = BN_to_ASN1_INTEGER(DH_get0_pub_key(dh), NULL);
                                               ^~~~~~~~~~~~~~~~~~~
../openssl/include/openssl/asn1.h:637:48: note: passing argument to parameter 'bn' here
ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai);
                                               ^
../openssl/providers/implementations/serializers/serializer_dh.c:138:49: error: implicit declaration of function 'DH_get0_priv_key' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    ASN1_INTEGER *priv_key = BN_to_ASN1_INTEGER(DH_get0_priv_key(dh), NULL);
                                                ^
../openssl/providers/implementations/serializers/serializer_dh.c:138:49: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const BIGNUM *' (aka 'const struct bignum_st *') [-Werror,-Wint-conversion]
    ASN1_INTEGER *priv_key = BN_to_ASN1_INTEGER(DH_get0_priv_key(dh), NULL);
                                                ^~~~~~~~~~~~~~~~~~~~
../openssl/include/openssl/asn1.h:637:48: note: passing argument to parameter 'bn' here
ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai);
                                               ^
18 errors generated.
Makefile:19788: recipe for target 'providers/implementations/serializers/libimplementations-lib-serializer_dh.o' failed
make[1]: *** [providers/implementations/serializers/libimplementations-lib-serializer_dh.o] Error 1
../openssl/providers/implementations/serializers/serializer_dh_priv.c:127:9: error: implicit declaration of function 'DH_free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        DH_free(dh);
        ^
../openssl/providers/implementations/serializers/serializer_dh_pub.c:56:9: error: implicit declaration of function 'DH_free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        DH_free(dh);
        ^
../openssl/providers/implementations/serializers/serializer_dh_priv.c:127:9: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
../openssl/providers/implementations/serializers/serializer_dh_priv.c:162:9: error: implicit declaration of function 'DH_free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        DH_free(dh);
        ^
../openssl/providers/implementations/serializers/serializer_dh_pub.c:56:9: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
../openssl/providers/implementations/serializers/serializer_dh_priv.c:208:9: error: implicit declaration of function 'DH_free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        DH_free(dh);
        ^
../openssl/providers/implementations/serializers/serializer_dh_pub.c:81:9: error: implicit declaration of function 'DH_free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        DH_free(dh);
        ^
../openssl/providers/implementations/serializers/serializer_dh_pub.c:106:9: error: implicit declaration of function 'DH_free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        DH_free(dh);
        ^
4 errors generated.
4 errors generated.
Makefile:19804: recipe for target 'providers/implementations/serializers/libimplementations-lib-serializer_dh_priv.o' failed
make[1]: *** [providers/implementations/serializers/libimplementations-lib-serializer_dh_priv.o] Error 1
Makefile:19812: recipe for target 'providers/implementations/serializers/libimplementations-lib-serializer_dh_pub.o' failed
make[1]: *** [providers/implementations/serializers/libimplementations-lib-serializer_dh_pub.o] Error 1
make[1]: Leaving directory '/home/openssl/run-checker/no-dh'
Makefile:2762: recipe for target 'build_sw' failed
make: *** [build_sw] Error 2


More information about the openssl-commits mailing list