Skip to content

Commit eaa6db9

Browse files
account for --enable-all-crypto and --disable-sha build now having OCSP responder
1 parent a6195c3 commit eaa6db9

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

configure.ac

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10701,6 +10701,16 @@ AS_IF([test "x$ENABLED_CMAC" = "xyes" && \
1070110701
test "x$ENABLED_AES" = "xno"],
1070210702
[AC_MSG_ERROR([cannot use CMAC without AES.])])
1070310703
10704+
# OCSP responder requires SHA-1. Auto disable for --enable-all or
10705+
# --enable-all-crypto when SHA-1 was disabled.
10706+
AS_IF([test "x$ENABLED_OCSP_RESPONDER" = "xyes" && \
10707+
test "x$ENABLED_SHA" = "xno"],
10708+
[AS_IF([test "x$ENABLED_ALL" = "xyes" || \
10709+
test "x$ENABLED_ALL_CRYPT" = "xyes"],
10710+
[AC_MSG_WARN([Disabling OCSP responder because SHA-1 is disabled (--disable-sha).])
10711+
ENABLED_OCSP_RESPONDER="no"],
10712+
[AC_MSG_ERROR([--enable-ocsp-responder requires SHA-1; remove --disable-sha or disable OCSP responder.])])])
10713+
1070410714
# certreq requires certgen
1070510715
AS_IF([test "x$ENABLED_CERT_REQ" = "xyes" && \
1070610716
test "x$ENABLED_CERT_GEN" = "xno"],

0 commit comments

Comments
 (0)