Restore some MSVC warnings.

bcm.c means e_aes.c can no longer be lazy about warning push/pop.

Change-Id: I558041bab3baa00e3adc628fe19486545d0f6be3
Reviewed-on: https://boringssl-review.googlesource.com/28164
Commit-Queue: Steven Valdez <svaldez@google.com>
Reviewed-by: Steven Valdez <svaldez@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
David Benjamin 2018-05-06 02:05:19 -04:00 committed by CQ bot account: commit-bot@chromium.org
parent bf33114b51
commit 2a92847c24

View File

@ -68,6 +68,7 @@
#endif #endif
OPENSSL_MSVC_PRAGMA(warning(push))
OPENSSL_MSVC_PRAGMA(warning(disable: 4702)) // Unreachable code. OPENSSL_MSVC_PRAGMA(warning(disable: 4702)) // Unreachable code.
typedef struct { typedef struct {
@ -1435,3 +1436,5 @@ int EVP_has_aes_hardware(void) {
return 0; return 0;
#endif #endif
} }
OPENSSL_MSVC_PRAGMA(warning(pop))