summaryrefslogtreecommitdiff
path: root/core/src/fdrm
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/fdrm')
-rw-r--r--core/src/fdrm/crypto/fx_crypt_sha.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/fdrm/crypto/fx_crypt_sha.cpp b/core/src/fdrm/crypto/fx_crypt_sha.cpp
index ecefdde05a..c7d171098b 100644
--- a/core/src/fdrm/crypto/fx_crypt_sha.cpp
+++ b/core/src/fdrm/crypto/fx_crypt_sha.cpp
@@ -390,7 +390,7 @@ uint64_t FX_ato64i(const FX_CHAR* str) {
return ret;
}
void CRYPT_SHA384Start(void* context) {
- if (context == NULL) {
+ if (!context) {
return;
}
sha384_context* ctx = (sha384_context*)context;
@@ -604,7 +604,7 @@ void CRYPT_SHA384Generate(const uint8_t* data,
CRYPT_SHA384Finish(&context, digest);
}
void CRYPT_SHA512Start(void* context) {
- if (context == NULL) {
+ if (!context) {
return;
}
sha384_context* ctx = (sha384_context*)context;