427d4bd Fix a potential crash in the local signer

Authored and Committed by nalin 3 years ago
1 file changed. 7 lines added. 5 lines removed.
    Fix a potential crash in the local signer
    
    Avoid allocating a too-small array when the local signer goes to
    generate a root certificate for the first time.  The sk_X509_num()
    function returns -1 when it's passed a NULL stack. (valgrind)
    
        
file modified
+7 -5