summaryrefslogtreecommitdiff
path: root/src/saml2/sigver.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/saml2/sigver.py')
-rw-r--r--src/saml2/sigver.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/saml2/sigver.py b/src/saml2/sigver.py
index f67db591..04502797 100644
--- a/src/saml2/sigver.py
+++ b/src/saml2/sigver.py
@@ -797,6 +797,7 @@ class CryptoBackendXmlSec1(CryptoBackend):
com_list = [self.xmlsec, "--version"]
pof = Popen(com_list, stderr=PIPE, stdout=PIPE)
content = pof.stdout.read().decode('ascii')
+ pof.wait()
try:
return content.split(" ")[1]
except IndexError:
@@ -990,6 +991,7 @@ class CryptoBackendXmlSec1(CryptoBackend):
p_out = pof.stdout.read().decode('utf-8')
p_err = pof.stderr.read().decode('utf-8')
+ pof.wait()
if pof.returncode is not None and pof.returncode < 0:
logger.error(LOG_LINE, p_out, p_err)