freebsd-ports/security/openssl_tpm_engine/files/patch-src-e_tpm_err.c
Hiroki Sato 20234d00b9 Update to v0.5.0 which supports OpenSSL 1.0.x/1.1.x.
This is a forked version of OpenSSL TPM engine from the original
upstream, TrouSerS project.
2019-03-02 23:48:27 +00:00

18 lines
695 B
C

--- src/e_tpm_err.c.orig 2017-12-18 15:45:34 UTC
+++ src/e_tpm_err.c
@@ -234,6 +234,7 @@ static ERR_STRING_DATA TPM_str_functs[] = {
{ERR_PACK(0, TPM_F_TPM_BIND_FN, 0), "TPM_BIND_FN"},
{ERR_PACK(0, TPM_F_TPM_FILL_RSA_OBJECT, 0), "TPM_FILL_RSA_OBJECT"},
{ERR_PACK(0, TPM_F_TPM_ENGINE_GET_AUTH, 0), "TPM_ENGINE_GET_AUTH"},
+ {ERR_PACK(0, TPM_F_TPM_BIO_FROM_NVRAM, 0), "TPM_BIO_FROM_NVRAM"},
{0, NULL}
};
@@ -264,6 +265,7 @@ static ERR_STRING_DATA TPM_str_reasons[] = {
{TPM_R_FILE_READ_FAILED, "failed reading the key file"},
{TPM_R_ID_INVALID, "engine id doesn't match"},
{TPM_R_UI_METHOD_FAILED, "ui function failed"},
+ {TPM_R_NVRAM_FAILED, "nvram failure"},
{0, NULL}
};