[PATCH] Fix configure check for EVP_CIPHER_CTX_set_iv

Damien Miller djm at mindrot.org
Thu Nov 8 12:16:23 AEDT 2018


On Mon, 5 Nov 2018, Darren Tucker wrote:

> 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.

should this go on the V_7_9 branch too?

> >         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?

IIRC I tried that and it didn't work, but maybe I'm misremembering.

-d


More information about the openssh-unix-dev mailing list