Projet

Général

Profil

0002-misc-fix-use-of-openssl-cli-46984.patch

Benjamin Dauvergne, 24 septembre 2020 18:54

Télécharger (1,08 ko)

Voir les différences:

Subject: [PATCH 2/3] misc: fix use of openssl cli (#46984)

 src/authentic2/saml/x509utils.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
src/authentic2/saml/x509utils.py
44 44
    Return a tuple made of the return code and the stdout output
45 45
    '''
46 46
    try:
47
        process = subprocess.Popen(args=[_openssl] + args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
47
        process = subprocess.Popen(args=[_openssl] + args,
48
                                   stdout=subprocess.PIPE,
49
                                   stderr=subprocess.STDOUT,
50
                                   universal_newlines=True)
48 51
        output = process.communicate()[0]
49 52
        return process.returncode, output
50 53
    except OSError:
51
-