adds missing ENABLED_OCSP test

This commit is contained in:
Moisés Guimarães
2016-02-24 16:45:07 -03:00
parent 143b9fda1b
commit 1824a494d1

View File

@ -2509,7 +2509,8 @@ AS_IF([test "x$ENABLED_MAXSTRENGTH" = "xyes" && \
test "x$ENABLED_LEANPSK" = "xyes"],
[AC_MSG_ERROR([Cannot use Max Strength and Lean PSK at the same time.])])
AS_IF([test "x$ENABLED_ASN" = "xno"],
AS_IF([test "x$ENABLED_OCSP" = "xyes" && \
test "x$ENABLED_ASN" = "xno"],
[AC_MSG_ERROR([please enable asn if enabling ocsp.])])
################################################################################