]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_cert_remain):
authorJoe Orton <jorton@apache.org>
Mon, 2 Mar 2026 11:13:46 +0000 (11:13 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 2 Mar 2026 11:13:46 +0000 (11:13 +0000)
  Revert workaround for OpenSSL feature/ech branch, which is now updated.

Also refresh the CI cache for the feature/ech OpenSSL build.

Github: closes #608

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1932103 13f79535-47bb-0310-9956-ffa450edef68

.github/workflows/linux.yml
modules/ssl/ssl_engine_vars.c

index 57b61ee76e8d3f11891373ff2b1ecfb018eb6872..5da65e26d9e72197cbc4e3360384fe203979864f 100644 (file)
@@ -320,7 +320,7 @@ jobs:
             config: --enable-mods-shared=most --enable-maintainer-mode --disable-md --disable-http2 --disable-ldap --disable-crypto
             notest-cflags: -Werror -O2
             env: |
-              TEST_OPENSSL3=ech1
+              TEST_OPENSSL3=ech2
               TEST_OPENSSL3_BRANCH=feature/ech
               OPENSSL_CONFIG=no-engine
               APR_VERSION=1.7.6
index c32e77c6c7eb999b02d7f5b4d917ad1521a7012f..3f9bea18b374ed0972aed6ba79c77b4b629aea62 100644 (file)
@@ -839,10 +839,7 @@ static const char *ssl_var_lookup_ssl_cert_valid(apr_pool_t *p, ASN1_TIME *tm)
  * "0" if this can't be determined. */
 static const char *ssl_var_lookup_ssl_cert_remain(apr_pool_t *p, ASN1_TIME *tm)
 {
-/* NOTE: temporary workaround to disable this for HAVE_OPENSSL_ECH since the
- * feature/ech branch is missing 9fb44b527ee3717795609fb876a7a81f8898c623 */
-#if OPENSSL_VERSION_NUMBER >= 0x10101000L && !defined(LIBRESSL_VERSION_NUMBER) \
-    && !defined(HAVE_OPENSSL_ECH)
+#if OPENSSL_VERSION_NUMBER >= 0x10101000L && !defined(LIBRESSL_VERSION_NUMBER)
     int diff;
 
     if (INVALID_ASN1_TIME(tm) || ASN1_TIME_diff(&diff, NULL, NULL, tm) != 1) {