]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - sshrsa.c
Add comments on OpenSSH AES-encrypted key support, including one
[PuTTY.git] / sshrsa.c
index 371b3e1f9dd26e0a183288ee83c2f21e276e8b55..3c0feafe5b5700d56bacb5b782400af0692c7df6 100644 (file)
--- a/sshrsa.c
+++ b/sshrsa.c
@@ -489,6 +489,7 @@ static void *rsa2_newkey(char *data, int len)
     rsa->exponent = getmp(&data, &len);
     rsa->modulus = getmp(&data, &len);
     rsa->private_exponent = NULL;
+    rsa->p = rsa->q = rsa->iqmp = NULL;
     rsa->comment = NULL;
 
     return rsa;