git.samba.org
/
lorikeet-heimdal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbacb5f
)
hx509: match docs for hx509_certs_init()
author
Nicolas Williams
<nico@twosigma.com>
Fri, 4 Oct 2019 21:54:24 +0000
(16:54 -0500)
committer
Nicolas Williams
<nico@twosigma.com>
Tue, 8 Oct 2019 02:32:00 +0000
(21:32 -0500)
lib/hx509/keyset.c
patch
|
blob
|
history
diff --git
a/lib/hx509/keyset.c
b/lib/hx509/keyset.c
index 80b614e8adfea49f4cb5e106880f53b4b2dc65d9..f89dfbef3ab3a1198486a89244f033db4f10b4f6 100644
(file)
--- a/
lib/hx509/keyset.c
+++ b/
lib/hx509/keyset.c
@@
-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);