Opened 6 years ago

Last modified 6 years ago

#55570 closed defect

implicit declaration of function 'RSA_padding_add_SSLv23' — at Initial Version

Reported by: conradwt (Conrad Taylor) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc: ci42
Port: erlang

Description

Hi, I'm attempting to upgrade to Erlang 20.2 and I'm seeing the error within the logs on build:

` :info:build make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_erlang/erlang/work/erlang-20.2/lib/crypto/c_src' :info:build CC ../priv/obj/x86_64-apple-darwin17.3.0/crypto.o :info:build crypto.c:4605:7: error: implicit declaration of function 'RSA_padding_add_SSLv23' is invalid in C99 [-Werror,-Wimplicit-function-declaration] :info:build if (RSA_padding_add_SSLv23(tmp_bin.data, tmplen, in_bin.data, in_bin.size) <= 0) :info:build :info:build crypto.c:4605:7: warning: this function declaration is not a prototype [-Wstrict-prototypes] :info:build crypto.c:4739:10: error: implicit declaration of function 'RSA_padding_check_SSLv23' is invalid in C99 [-Werror,-Wimplicit-function-declaration] :info:build i = RSA_padding_check_SSLv23(tmp_bin.data, tmplen, p, out_bin.size - 1, tmplen); :info:build :info:build crypto.c:4739:10: note: did you mean 'RSA_padding_add_SSLv23'? :info:build crypto.c:4605:7: note: 'RSA_padding_add_SSLv23' declared here :info:build if (RSA_padding_add_SSLv23(tmp_bin.data, tmplen, in_bin.data, in_bin.size) <= 0) :info:build :info:build crypto.c:4739:10: warning: this function declaration is not a prototype [-Wstrict-prototypes] :info:build i = RSA_padding_check_SSLv23(tmp_bin.data, tmplen, p, out_bin.size - 1, tmplen); :info:build :info:build 2 warnings and 2 errors generated. `

Change History (1)

Changed 6 years ago by conradwt (Conrad Taylor)

Attachment: main.log added

erlang 20.2 port build logs

Note: See TracTickets for help on using tickets.