summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/cert-tests/certtool-rsa-pss7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/cert-tests/certtool-rsa-pss b/tests/cert-tests/certtool-rsa-pss
index a4c65dc0b7..230fc34a0d 100755
--- a/tests/cert-tests/certtool-rsa-pss
+++ b/tests/cert-tests/certtool-rsa-pss
@@ -49,6 +49,13 @@ if test "${rc}" != "0"; then
exit 1
fi
+${VALGRIND} "${CERTTOOL}" -k --password '' --infile "$OUTFILE"
+rc=$?
+if test "${rc}" != "0"; then
+ echo "Could not read generated an RSA-PSS key ($i)"
+ exit 1
+fi
+
# Create an RSA-PSS certificate from an RSA-PSS private key
${VALGRIND} "${CERTTOOL}" --generate-self-signed \
--pkcs8 --load-privkey "$OUTFILE" --password '' \