]> git.proxmox.com Git - swtpm.git/commit
swtpm_cert: use GNUTLS 3.5 function to set TPM data
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Thu, 2 Feb 2017 15:49:58 +0000 (10:49 -0500)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Thu, 2 Feb 2017 15:50:35 +0000 (10:50 -0500)
commit624b11d8609f10210bf59f2b485937a4fb3371a9
tree7c724a90ff8044584329f102f1064eaf0ccc9fc3
parentcde5f608e551e9eb32112a5fb86abb46ca1f59d2
swtpm_cert: use GNUTLS 3.5 function to set TPM data

Use the GNUTLS 3.5 function gnutls_x509_crt_set_subject_alt_othername
to set the TP<M and platform manufacturer info since the other function
does not accept binary data.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
src/swtpm_cert/ek-cert.c