Changeset de81c0f in mod_gnutls for test/data/ocsp.py


Ignore:
Timestamp:
Apr 12, 2020, 12:45:29 PM (5 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master, proxy-ticket
Children:
199acff
Parents:
204377e
Message:

ocsp.py: Capture the OCSP request in a variable

This will be useful for logging later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/data/ocsp.py

    r204377e rde81c0f  
    7878
    7979    try:
     80        req = sys.stdin.buffer.read(int(content_length))
    8081        openssl = os.getenv('OPENSSL') or shutil.which('openssl')
    8182        openssl_run = subprocess.run([openssl, 'ocsp',
     
    8687            '-nmin', os.getenv('OCSP_VALID_MIN', '5'),
    8788            '-reqin', '-', '-respout', '-'],
    88             stdin=sys.stdin.buffer, capture_output=True)
     89            input=req, capture_output=True)
    8990
    9091        if openssl_run.returncode == 0:
Note: See TracChangeset for help on using the changeset viewer.