[MacPorts] #55570: implicit declaration of function 'RSA_padding_add_SSLv23'
MacPorts
noreply at macports.org
Fri Dec 22 08:11:16 UTC 2017
#55570: implicit declaration of function 'RSA_padding_add_SSLv23'
----------------------+--------------------
Reporter: conradwt | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Keywords: | Port: erlang
----------------------+--------------------
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.
```
--
Ticket URL: <https://trac.macports.org/ticket/55570>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list