hx509: match docs for hx509_certs_init()
This commit is contained in:
@@ -125,6 +125,9 @@ hx509_certs_init(hx509_context context,
|
|||||||
|
|
||||||
*certs = NULL;
|
*certs = NULL;
|
||||||
|
|
||||||
|
if (name == NULL)
|
||||||
|
name = "";
|
||||||
|
|
||||||
residue = strchr(name, ':');
|
residue = strchr(name, ':');
|
||||||
if (residue) {
|
if (residue) {
|
||||||
type = malloc(residue - name + 1);
|
type = malloc(residue - name + 1);
|
||||||
|
Reference in New Issue
Block a user