ssh-keygen freezes if you force use of engine

Frederick Gotham cauldwell.thomas at gmail.com
Wed Nov 6 12:35:16 UTC 2019


Dmitry Belyavsky <beldmit at gmail.com> wrote
in
news:CADqLbz+6WbCpday_1Gq-Zmst1y-17Hbc1S9OvYtE4=b=NJpW5w at mail.gmail.com: 

> Could you please reproduce this behavior without your patches?
> 
> On Wed, Nov 6, 2019 at 2:04 PM Frederick Gotham
> <cauldwell.thomas at gmail.com> wrote:
> 
>>
>>
>> > I used GDB on the core file and saw the following backtrace:
>>
>>
>> I think I'm actually getting a stack overflow from "openssl_config_int"
>> calling "OPENSSL_init_crypto" because of the recursion.
>>
>>
> 



My temporary solution is to link "ssh-keygen" statically with a normal 
version of "libcrypto.a", and then have every other program link dynamically 
with my altered version of "libcrypto.so".

I'll at least see if that works.



More information about the openssl-users mailing list