diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-11-28 00:31:48 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-05-19 03:43:26 +0200 |
commit | 19fec985e98707cebf11c3fce2531df1c2a666dd (patch) | |
tree | 2b4a709d41be83e3bd60600734b75094794c22fe /onlineupdate | |
parent | bb67212a05de212baece36b6875468d575340684 (diff) |
fix more platform define checks
Change-Id: I2e125770fc6c21141c45ccc057d95fada8ccf74c
Diffstat (limited to 'onlineupdate')
-rw-r--r-- | onlineupdate/source/libmar/verify/cryptox.c | 4 |
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 |