[PATCH] Fix configure check for EVP_CIPHER_CTX_set_iv

Darren Tucker dtucker at dtucker.net
Mon Nov 5 17:40:20 AEDT 2018


On 5 November 2018 at 16:41, Michael Forney <mforney at mforney.org> wrote:

> This causes EVP_CIPHER_CTX_set_iv to get replaced unnecessarily (or
> a duplicate symbol error if linking statically).
>

Applied, thanks.


>         AC_SEARCH_LIBS([EVP_CIPHER_CTX_set_iv], [crypto],
> -               [AC_DEFINE([HAVE_EVP_CIPHER_CTX_GET_IV], [1],
> +               [AC_DEFINE([HAVE_EVP_CIPHER_CTX_SET_IV], [1],
>                     [Define if libcrypto has EVP_CIPHER_CTX_set_iv])])
>

AC_SEARCH_LIBS sets that definition by default anyway.  Damien, is there
any reason we can't delete all those args?

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list