[erlang-questions] crypto: priv/obj and OTP-4828

Rickard Green rickard@REDACTED
Wed Jul 3 22:28:03 CEST 2019


On Tue, Jul 2, 2019 at 7:45 PM Matwey V. Kornilov <matwey.kornilov@REDACTED>
wrote:
>
>
> Hi,
>
> I see the following in the changelog for the quite old version of crypto:
>
> """
> Fixed Bugs and Malfunctions
>
>     It was not possible in R9 to relink the crypto driver. The object
> file was missing as well as an example makefile. The crypto driver
> object file is now released with the application (installed in
> priv/obj). An example makefile has also been added to the priv/obj
> directory. The makefile serves as an example of how to relink the driver
> on Unix (crypto_drv.so) or Windows (crypto_drv.dll).
>
>     Own Id: OTP-4828 Aux Id: seq8193
> """
>
> priv/obj is still there. I would like to have more details on this
> issue. Could somebody give an example when one needs to relink
> crypto_drv.so?
>

We used to deliver a pre-built binary release of OTP for licensed
customers. The object file and example makefile were there in order for
customers to be able link the crypto driver against an alternative openssl
library. Nowadays the driver has be replaced by a NIF and we only deliver
OTP as source. Since everyone builds from source, there is no need for this
relink procedure.
--
Rickard Green, Erlang/OTP, Ericsson AB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190703/446e92b6/attachment.htm>


More information about the erlang-questions mailing list