Skip to content

Commit

Permalink
Remove legacy tpm2tss PEM support
Browse files Browse the repository at this point in the history
That format got removed before it was ever released...

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
dwmw2 committed Oct 12, 2018
1 parent 810ea00 commit 9f93019
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions openssl.c
Expand Up @@ -920,9 +920,6 @@ static int load_certificate(struct openconnect_info *vpninfo)
!strcmp(buf, "-----BEGIN TSS2 PRIVATE KEY-----\n")) {
fclose(f);
return load_tpm_certificate(vpninfo, "tpm2");
} else if (!strcmp(buf, "-----BEGIN TSS2 PRIVKEY BLOB v1-----\n")) {
fclose(f);
return load_tpm_certificate(vpninfo, "tpm2tss");
} else if (!strcmp(buf, "-----BEGIN RSA PRIVATE KEY-----\n") ||
!strcmp(buf, "-----BEGIN DSA PRIVATE KEY-----\n") ||
!strcmp(buf, "-----BEGIN EC PRIVATE KEY-----\n") ||
Expand Down

0 comments on commit 9f93019

Please sign in to comment.