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>
diff --git a/util/fipstools/acvp/modulewrapper/modulewrapper.cc b/util/fipstools/acvp/modulewrapper/modulewrapper.cc index 1974dce..7188029 100644 --- a/util/fipstools/acvp/modulewrapper/modulewrapper.cc +++ b/util/fipstools/acvp/modulewrapper/modulewrapper.cc
@@ -54,6 +54,7 @@ #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