From 8c5b7ec24618e43d63cdf7e5d66e4363a718b45f Mon Sep 17 00:00:00 2001 From: Oren Cohen Date: Wed, 2 Jan 2019 16:54:44 +0200 Subject: [PATCH] Update defintion of psa_status_t Remove temporary workaround --- include/psa/crypto.h | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/include/psa/crypto.h b/include/psa/crypto.h index c58d22ae4..e797e51de 100644 --- a/include/psa/crypto.h +++ b/include/psa/crypto.h @@ -57,20 +57,7 @@ extern "C" { * @{ */ -#if defined(PSA_SUCCESS) -/* If PSA_SUCCESS is defined, assume that PSA crypto is being used - * together with PSA IPC, which also defines the identifier - * PSA_SUCCESS. We must not define PSA_SUCCESS ourselves in that case; - * the other error code names don't clash. Also define psa_status_t as - * an alias for the type used by PSA IPC. This is a temporary hack - * until we unify error reporting in PSA IPC and PSA crypto. - * - * Note that psa_defs.h must be included before this header! - */ -typedef psa_error_t psa_status_t; - -#else /* defined(PSA_SUCCESS) */ - +#if !defined(PSA_SUCCESS) /** * \brief Function return status. *