acmed: tokenize domains from subject also with spaces (fixed multidom cert)

This commit is contained in:
cinap_lenrek 2021-10-25 18:15:53 +00:00
parent 87eb9bc2b7
commit 79c6a0f342

View file

@ -756,7 +756,7 @@ getcert(char *csrpath)
sysfatal("decode csr: %r");
if((csr = encurl64(der, nder)) == nil)
sysfatal("encode %s: %r", csrpath);
if((ndom = getfields(name, dom, nelem(dom), 1, ",")) == nelem(dom))
if((ndom = getfields(name, dom, nelem(dom), 1, ", ")) == nelem(dom))
sysfatal("too man domains");
rsapubfree(rsa);
close(fd);