提交 8c92d167 编写于 作者: N ngthomas

7109885: security baseline for 7u2 or above is not set correctly

Reviewed-by: ccheung, igor, ohair
上级 6c0d3dec
......@@ -1608,6 +1608,31 @@ ifeq ($(PLATFORM), windows)
fi
endif
######################################################
# SECURITY_BASELINE_170 test
######################################################
security_baseline_170:
ifeq ($(PLATFORM), windows)
@if [ -z "$(SECURITY_BASELINE_170)" ]; then \
$(ECHO) "WARNING: Your SECURITY_BASELINE_170 setting is empty.\n" \
" Setting it to the default value of 1.7.0_01.\n" \
" It is recommended to set SECURITY_BASELINE_170.\n" \
"" >> $(WARNING_FILE) ; \
fi
endif
######################################################
# SECURITY_BASELINE_180 test
######################################################
security_baseline_180:
ifeq ($(PLATFORM), windows)
@if [ -z "$(SECURITY_BASELINE_180)" ]; then \
$(ECHO) "WARNING: Your SECURITY_BASELINE_180 setting is empty.\n" \
" Setting it to the default value of 1.8.0.\n" \
" It is recommended to set SECURITY_BASELINE_180.\n" \
"" >> $(WARNING_FILE) ; \
fi
endif
######################################################
# this should be the last rule in any target's sanity rule.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册