summaryrefslogtreecommitdiff
path: root/onlineupdate
diff options
context:
space:
mode:
Diffstat (limited to 'onlineupdate')
-rw-r--r--onlineupdate/source/libmar/verify/cryptox.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/onlineupdate/source/libmar/verify/cryptox.c b/onlineupdate/source/libmar/verify/cryptox.c
index f71c4cef1b06..7edf8bea233d 100644
--- a/onlineupdate/source/libmar/verify/cryptox.c
+++ b/onlineupdate/source/libmar/verify/cryptox.c
@@ -13,8 +13,10 @@
#if defined(MAR_NSS)
+#ifdef _WIN32
#pragma warning(push)
#pragma warning(disable: 4204)
+#endif
/**
* Loads the public key for the specified cert name from the NSS store.
@@ -270,7 +272,9 @@ CryptoAPI_VerifyUpdate(HCRYPTHASH* hash, BYTE *buf, DWORD len)
return result ? CryptoX_Success : CryptoX_Error;
}
+#ifdef _WIN32
#pragma warning(pop)
+#endif
#endif