https://bz.apache.org/bugzilla/show_bug.cgi?id=64862

--- Comment #2 from Michael Osipov <[email protected]> ---
>From both mains:
src/sslcontext.c:1033:14: warning: call to undeclared function
'SSL_CTX_set0_tmp_dh_pkey'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
 1033 |         if (!SSL_CTX_set0_tmp_dh_pkey(c->ctx, evp)) {
      |              ^
1 warning generated.
/bin/sh /usr/local/share/apr/build-1/libtool --silent --mode=compile --tag=CC
cc   -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing 
-DHAVE_CONFIG_H    -DLIBICONV_PLUG -g -O2 -DHAVE_POLLSET_WAKEUP   -I./include
-I/usr/local/openjdk8/include -I/usr/local/openjdk8/include/freebsd
-I/tmp/ports-libressl/include  -I/usr/local/include/apr-1   -o src/sslutils.lo
-c src/sslutils.c && touch src/sslutils.lo
src/sslutils.c:191:11: warning: call to undeclared function
'PEM_read_bio_Parameters_ex'; ISO C99 and later do not support implicit
function declarations [-Wimplicit-function-declaration]
  191 |     evp = PEM_read_bio_Parameters_ex(bio, NULL, NULL, NULL);
      |           ^
src/sslutils.c:191:9: error: incompatible integer to pointer conversion
assigning to 'EVP_PKEY *' (aka 'struct evp_pkey_st *') from 'int'
[-Wint-conversion]
  191 |     evp = PEM_read_bio_Parameters_ex(bio, NULL, NULL, NULL);
      |         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/sslutils.c:193:17: warning: call to undeclared function 'EVP_PKEY_is_a';
ISO C99 and later do not support implicit function declarations
[-Wimplicit-function-declaration]
  193 |     if (evp && !EVP_PKEY_is_a(evp, "DH")) {
      |                 ^
src/sslutils.c:209:11: warning: call to undeclared function
'PEM_read_bio_Parameters_ex'; ISO C99 and later do not support implicit
function declarations [-Wimplicit-function-declaration]
  209 |     evp = PEM_read_bio_Parameters_ex(bio, NULL, NULL, NULL);
      |           ^
src/sslutils.c:209:9: error: incompatible integer to pointer conversion
assigning to 'EVP_PKEY *' (aka 'struct evp_pkey_st *') from 'int'
[-Wint-conversion]
  209 |     evp = PEM_read_bio_Parameters_ex(bio, NULL, NULL, NULL);
      |         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/sslutils.c:211:17: warning: call to undeclared function 'EVP_PKEY_is_a';
ISO C99 and later do not support implicit function declarations
[-Wimplicit-function-declaration]
  211 |     if (evp && !EVP_PKEY_is_a(evp, "EC")) {
      |                 ^
src/sslutils.c:216:5: error: use of undeclared identifier 'OSSL_PARAM'
  216 |     OSSL_PARAM param[] = {
      |     ^
src/sslutils.c:222:9: warning: call to undeclared function
'EVP_PKEY_get_params'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
  222 |     if (EVP_PKEY_get_params(evp, param) <= 0) {
      |         ^
src/sslutils.c:222:34: error: use of undeclared identifier 'param'
  222 |     if (EVP_PKEY_get_params(evp, param) <= 0) {
      |                                  ^
5 warnings and 4 errors generated.
gmake[1]: *** [/tmp/tomcat-native/native/build/rules.mk:207: src/sslutils.lo]
Error 1
gmake[1]: Leaving directory '/tmp/tomcat-native/native'
gmake: *** [/tmp/tomcat-native/native/build/rules.mk:119: all-recursive] Error
1

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to