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

OpenSSL run-checker openssl at openssl.org
Wed Dec 18 03:07:28 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:

1ac7e15375 apps/speed.c: Fix eddsa sign and verify output with -multi option
982efd7765 EVP: make it possible to init EVP_PKEY_CTX with provided EVP_PKEY
19f909856d Update the HISTORY entry for RSA_get0_pss_params()
e295de1d84 Test that EVP_PKEY_set1_DH() correctly identifies the DH type
32c869ffab Ensure EVP_PKEY_set1_DH detects X9.42 keys
1aeec3dbc2 Return 1 when openssl req -addext kv is duplicated

Build log ended with (last 100 lines):

           ^
../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:19759: recipe for target 'providers/implementations/serializers/libimplementations-lib-serializer_dh.o' failed
make[1]: *** [providers/implementations/serializers/libimplementations-lib-serializer_dh.o] Error 1
make[1]: *** Waiting for unfinished jobs....
../openssl/providers/implementations/serializers/serializer_dh_param.c:64:12: note: did you mean 'i2d_KeyParams_bio'?
../openssl/include/openssl/evp.h:1163:5: note: 'i2d_KeyParams_bio' declared here
int i2d_KeyParams_bio(BIO *bp, const EVP_PKEY *pkey);
    ^
../openssl/providers/implementations/serializers/serializer_dh_param.c:64:12: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
    return i2d_DHparams_bio(out, dh);
           ^
../openssl/providers/implementations/serializers/serializer_dh_param.c:79: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_param.c:87:12: error: implicit declaration of function 'PEM_write_bio_DHparams' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    return PEM_write_bio_DHparams(out, dh);
           ^
../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_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_priv.c:208:9: error: implicit declaration of function 'DH_free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        DH_free(dh);
        ^
4 errors generated.
../openssl/providers/implementations/serializers/serializer_dh_param.c:87:12: note: did you mean 'PEM_write_bio_DSAparams'?
../openssl/include/openssl/pem.h:338:1: note: 'PEM_write_bio_DSAparams' declared here
DECLARE_PEM_rw(DSAparams, DSA)
^
../openssl/include/openssl/pem.h:251:9: note: expanded from macro 'DECLARE_PEM_rw'
        DECLARE_PEM_write(name, type)
        ^
../openssl/include/openssl/pem.h:236:9: note: expanded from macro 'DECLARE_PEM_write'
        DECLARE_PEM_write_bio(name, type) \
        ^
../openssl/include/openssl/pem.h:225:5: note: expanded from macro 'DECLARE_PEM_write_bio'
    PEM_write_fnsig(name, type, BIO, write_bio);
    ^
../openssl/include/openssl/pem.h:70:9: note: expanded from macro 'PEM_write_fnsig'
    int PEM_##writename##_##name(OUTTYPE *out, const type *x)
        ^
<scratch space>:59:1: note: expanded from here
PEM_write_bio_DSAparams
^
../openssl/providers/implementations/serializers/serializer_dh_param.c:87:12: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
    return PEM_write_bio_DHparams(out, dh);
           ^
../openssl/providers/implementations/serializers/serializer_dh_param.c:101:9: error: implicit declaration of function 'DH_free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        DH_free(dh);
        ^
8 errors generated.
Makefile:19775: 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:19767: recipe for target 'providers/implementations/serializers/libimplementations-lib-serializer_dh_param.o' failed
make[1]: *** [providers/implementations/serializers/libimplementations-lib-serializer_dh_param.o] Error 1
../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_pub.c:56:9: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
../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.
Makefile:19783: 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:2752: recipe for target 'build_sw' failed
make: *** [build_sw] Error 2


More information about the openssl-commits mailing list