summaryrefslogtreecommitdiffstats
path: root/fips/rsa/fips_rsastest.c
diff options
context:
space:
mode:
Diffstat (limited to 'fips/rsa/fips_rsastest.c')
-rw-r--r--fips/rsa/fips_rsastest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fips/rsa/fips_rsastest.c b/fips/rsa/fips_rsastest.c
index d11b06316b..72e75a3cc6 100644
--- a/fips/rsa/fips_rsastest.c
+++ b/fips/rsa/fips_rsastest.c
@@ -362,6 +362,9 @@ static int rsa_printsig(FILE *out, RSA *rsa, const EVP_MD *dgst,
error:
+ if (sigbuf)
+ OPENSSL_free(sigbuf);
+
return ret;
}
#endif