* cipher/rsa.c (generate_fips): Initialize E, P and Q.

--

Signed-off-by: NIIBE Yutaka <gni...@fsij.org>
---
 cipher/rsa.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cipher/rsa.c b/cipher/rsa.c
index 4c3a8e42..a501d7d8 100644
--- a/cipher/rsa.c
+++ b/cipher/rsa.c
@@ -483,6 +483,7 @@ generate_fips (RSA_secret_key *sk, unsigned int nbits, unsigned long use_e,
       int idx;
       gcry_sexp_t oneparm;
 
+      e = p = q = NULL;
       tbl[0].value = &e;
       tbl[1].value = &p;
       tbl[2].value = &q;
_______________________________________________
Gcrypt-devel mailing list
Gcrypt-devel@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gcrypt-devel

Reply via email to