hx509: match docs for hx509_certs_init()

This commit is contained in:
Nicolas Williams
2019-10-04 16:54:24 -05:00
parent fbacb5f5fe
commit 89b076c543

View File

@@ -125,6 +125,9 @@ hx509_certs_init(hx509_context context,
*certs = NULL;
if (name == NULL)
name = "";
residue = strchr(name, ':');
if (residue) {
type = malloc(residue - name + 1);