Add log tag for Trusty.

Trusty's TLOGE macro nowadays expects TLOG_TAG to be defined
as the log tag to use.

Change-Id: I18121287ba51698d354323027d5382c8406f0b99
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/49685
Commit-Queue: Pete Bentley <prb@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
This commit is contained in:
Pete Bentley 2021-09-28 20:41:03 +01:00 committed by Boringssl LUCI CQ
parent 551ccd7e94
commit cc509bdb7e

View File

@ -54,6 +54,7 @@ namespace acvp {
#if defined(OPENSSL_TRUSTY)
#include <trusty_log.h>
#define LOG_ERROR(...) TLOGE(__VA_ARGS__)
#define TLOG_TAG "modulewrapper"
#else
#define LOG_ERROR(...) fprintf(stderr, __VA_ARGS__)
#endif // OPENSSL_TRUSTY