ssh-keygen freezes if you force use of engine

Jordan Brown openssl at jordan.maileater.net
Thu Nov 7 18:20:53 UTC 2019


On 11/6/2019 11:42 PM, Frederick Gotham wrote:
> Jordan Brown wrote:
>
>> Note that __pthread_once_slow is in the stack twice, called from
>> OPENSSL_init_crypto and CRYPTO_THREAD_run_once.
>>
>> "once" functions ensure that they call their function argument exactly
>> once, even if they are called multiple times in parallel while their
>> function is running.  They do that by locking a mutex around the
>> execution of the function.  The second call attempted to lock the mutex
>> to wait for the first call to complete, and deadlocked.
>
>
> I still don't know what to do about this.
>
> For them moment I'm continuing with my idea in the thread "Latest idea to 
> force usage of custom engine".

Ensure that you don't end up calling the initialization functions
recursively.

I'm not really in a position to help in any detail, either in terms of
expertise or time.

-- 
Jordan Brown, Oracle ZFS Storage Appliance, Oracle Solaris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20191107/1b3ad97c/attachment.html>


More information about the openssl-users mailing list