Changeset 317b569 in mod_gnutls for test


Ignore:
Timestamp:
Jun 14, 2016, 6:41:53 PM (3 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, master, upstream
Children:
e2ba939
Parents:
894efd0
Message:

Make the response validity period of the test responder configurable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/data/ocsp.cgi

    r894efd0 r317b569  
    3838    OPENSSL=$(which openssl)
    3939fi
     40if [ -z "${OCSP_VALID_MIN}" ]; then
     41    OCSP_VALID_MIN="3"
     42fi
    4043
    4144case "${REQUEST_METHOD}" in
     
    5558            ${OPENSSL} ocsp -index "${OCSP_INDEX}" -CA "${CA_CERT}" \
    5659                    -rsigner "${OCSP_CERT}" -rkey "${OCSP_KEY}" \
    57                     -nmin 3 -reqin - -respout -
     60                    -nmin "${OCSP_VALID_MIN}" -reqin - -respout -
    5861        else
    5962            echo "Status: 415 Unsupported Media Type"
Note: See TracChangeset for help on using the changeset viewer.