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:
1461138271 Deprecated crypto-mdebug-backtrace
742ccab318 Deprecate most of debug-memory
4e3ee452d0 Parse large GOST ClientKeyExchange messages
2e16439786 Remove CRYPTO_secure_allocated from util/missingcrypto111.txt
46994f7163 Add better support for using deprecated symbols internally
97ba39547d test/namemap_internal_test.c: use "cookie" instead of "foo"...
dd0139f416 Check return value after loading config file
ebe19ab86c mac poly1305: add missing NULL check in new function.
41a6d557b9 mac siphash: add missing NULL check on context creation
Build log ended with (last 100 lines):
^
../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.
../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, ¶ms->data);
^
Makefile:19749: 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
make[1]: *** Waiting for unfinished jobs....
../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>:138: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, ¶ms->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, ¶ms->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, ¶ms->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, ¶ms->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:19741: 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_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.
Makefile:19757: 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_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:19765: 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:2734: recipe for target 'build_sw' failed
make: *** [build_sw] Error 2