Commit ce6158fc authored by David Woodhouse's avatar David Woodhouse

Add support for files from the *other* OpenSSL TPM2 engine. FFS.

Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 42bfadb3
......@@ -952,6 +952,9 @@ static int load_certificate(struct openconnect_info *vpninfo)
} else if (!strcmp(buf, "-----BEGIN TSS2 KEY BLOB-----\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") ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment