]> git.proxmox.com Git - swtpm.git/commit
swtpm_localca: Replace '+' and ',' characters in VMId's
authorStefan Berger <stefanb@linux.ibm.com>
Mon, 1 Nov 2021 13:08:22 +0000 (09:08 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Mon, 1 Nov 2021 14:27:10 +0000 (10:27 -0400)
commitb08876722adc58de5e1c6569eeaa3382c585f193
treeaea4f651aeb9c434c6dcbffc4df64f7dc2b3b206
parent30fa8b47d294f999644784e4e3e8b0a3d54f10ff
swtpm_localca: Replace '+' and ',' characters in VMId's

Certain characters are not accepted by gnutls when creating the
subject with the 'CN' from the vmid, so we have to replace those
characters with another one, such as '_'.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
src/swtpm_localca/swtpm_localca.c
src/swtpm_localca/swtpm_localca_utils.c
src/swtpm_localca/swtpm_localca_utils.h