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

OpenSSL run-checker openssl at openssl.org
Mon Dec 9 03:02:53 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:

32745fccdb Difference between EVP_CipherInit and EVP_CipherInit_ex
4c3f748d7c Add a CHANGES entry for CVE-2019-1551
18d42d8d56 Add a test case for rsaz_512_sqr overflow handling
8736f95381 Improve the overflow handling in rsaz_512_sqr
8c6f86c7c5 Fix an overflow bug in rsaz_512_sqr
350c923517 Add documentation for the newly added RSA_PKCS1_WITH_TLS_PADDING
e7db9680db Move constant time RSA code out of libssl
d9a7510747 Teach the RSA implementation about TLS RSA Key Transport
6df44cf65f Fix exit issue in travisci
7ba46774b7 Remove spurious space from file.
7573fe1af5 Deprecate the AES_ige_*() functions
67b8f5bdbf Add the ability to supress deprecation warnings
25d7cd1d69 add X509_cmp_timeframe() including its documentation
dc5d74e648 util/mkerr.pl: don't stop reading conserved symbols from the state file
278de77b88 configdata.pm.in: Don't try to quotify undefined values
d3a27c5ee4 Update NOTES.ANDROID for newer NDK versions + small fixes.
59ae04d74a Set argument only after successful dup on CMP APIs
be3acd799b Fix typos in fipsinstall test
14ee781eef util/find-doc-nits: ignore macros ending in _fnsig
31d3a75902 util/find-doc-nits: limit the prototype check
c48e2d106b Add NEWS and CHANGES entries about OSSL_SERIALIZER
6ae5543c5f TEST: add tests of text and PEM printout of a provider made key
264b789bc2 PROV SERIALIZER: add support for writing DSA keys and parameters
045e51cbf4 PROV SERIALIZER: add support for writing DH keys and parameters
677add3800 PROV SERIALIZER: add support for writing RSA keys
cb58d81e68 PROV SERIALIZER: add common functionality to serialize keys
63665fff84 PROV BIO: add a BIO_vprintf() upcall, and a provider BIO library
54c1711f87 SERIALIZER: add hooks in EVP_PKEY_print_ routines
f864a9396a SERIALIZER: add hooks in PEM_write_bio_ and PEM_write_fp_ routines
866234ac35 SERIALIZER: add support for serializing EVP_PKEYs
1793d270f3 CORE: expose the property parsers and checker to the rest of the libraries
742496f130 SERIALIZER: add functions for serialization to file
0d003c52d3 SERIALIZER: New API for serialization of objects through providers
36fa4d8a0d CORE: pass the full algorithm definition to the method constructor
3d83c73536 CORE: ossl_namemap_add_names(): new function to add multiple names
cc38e643cb Disable mem leak checking for the self test lock
14a684bfb0 Make sure we only run the self tests once
17197a2f61 Check the return from OPENSSL_buf2hexstr()
c1ff599440 Check that OPENSSL_zalloc was successful when creating EVP types
b4be6937f2 Add a test for NULL chunks in encrypt/decrypt
4b9c750be8 Make sure we handle input NULL with length 0
cff64af553 Configure: make it possible to have generated generators
b0940b33a6 Adapt *.tmpl to generate docs at build time
df8f116ecd Add doc/build.info to build the documentation
829f86bb7b Add the possibility to generate documentation at build time
fbd03b1c59 configdata.pm.in, util/dofile.pl: load 'platform' unconditionally
e9b95e42fb apps/ocsp.c: sock_timeout -> socket_timeout

Build log ended with (last 100 lines):

                         ^
../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:636: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:636:48: note: passing argument to parameter 'bn' here
ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai);
                                               ^
18 errors generated.
Makefile:19717: 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: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_param.c:56:9: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
../openssl/providers/implementations/serializers/serializer_dh_param.c:64:12: error: implicit declaration of function 'i2d_DHparams_bio' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    return i2d_DHparams_bio(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: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);
           ^
Makefile:19733: 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
../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>:66: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:19725: 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:19741: 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:2727: recipe for target 'build_sw' failed
make: *** [build_sw] Error 2


More information about the openssl-commits mailing list