Greetings!

On RNG failure generating dhparams an segmentation fault occurs.
The patch is attached.

The example command to reproduce:

openssl dhparam -outform PEM -out dhparam.pem 1024

Generating DH parameters, 1024 bit long safe prime, generator 2
This is going to take a long time

[Rng failure report skipped]

3074209420:error:0506A003:Diffie-Hellman
routines:DH_BUILTIN_GENPARAMS:BN lib:dh_gen.c:165:
Segmentation fault.

-- 
SY, Dmitry Belyavsky

Attachment: dhparam.diff
Description: Binary data

Reply via email to