X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/f5bcbcc2b1f5c6aac6379615bd9a6bc942cce98a..bc7cc96f716a0761e45dcccce88aa7566df517e9:/sshrsa.c diff --git a/sshrsa.c b/sshrsa.c index 371b3e1f..3c0feafe 100644 --- 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;