summaryrefslogtreecommitdiffstats
path: root/debian/tests/check-signatures
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/check-signatures')
-rwxr-xr-xdebian/tests/check-signatures4
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)