427d4bd
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)