diff options
Diffstat (limited to 'debian/tests')
-rwxr-xr-x | debian/tests/check-signatures | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/tests/check-signatures b/debian/tests/check-signatures index a36aae6..0f18fca 100755 --- a/debian/tests/check-signatures +++ b/debian/tests/check-signatures @@ -57,8 +57,8 @@ def convert_c_hex_to_bytes(hex): # Convert an X.509 certificate from DER to PEM format def convert_cert_der_to_pem(der): - proc = subprocess.Popen(['openssl', 'x509', '-inform', 'der', - '-outform', 'pem'], + proc = subprocess.Popen(['openssl', 'x509', '-in', '/dev/stdin', + '-inform', 'der', '-outform', 'pem'], stdin=subprocess.PIPE, stdout=subprocess.PIPE) pem, _ = proc.communicate(der) |