On Fri, Sep 21, 2018 at 06:25:22PM +0200, Timothy Redaelli wrote:
> Since OpenSSL upstream commit 201b305a2409
> ("apps/dsaparam.c generates code that is intended to be pasted or included
> into
> an existing source file: the function is static, and the code doesn't include
> dsa.h. Match the generated C source style of dsaparam.") "openssl dhparam -C"
> generates the get_dh functions as static, but the functions are used inside
> stream-ssl.c and so the static keyword cannot be used.
>
> This commit removes the static keyword from the get_dh functions during
> dhparams.c file generation by restoring the current behaviour.
>
> Signed-off-by: Timothy Redaelli <[email protected]>
> Signed-off-by: Ben Pfaff <[email protected]>
> (cherry picked from commit dc041eae5019a936618c398a2a1d106f65604ccc)
> ---
> Backport notice:
> On OVS 2.9.x the dhparams.c file is generated each time at build time
> and generate-dhparams-c doesn't exists. This commit does the same thing,
> but by modifying dhparam.c generation on lib/automake.mk instead.
>
> This is needed to build OVS 2.9 with new OpenSSL versions since
> dhparams.c is not cached on OVS 2.9.x.
Thanks, applied to branch-2.9.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev