mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Added Pageant, a first-attempt PuTTY authentication agent
[originally from svn r589]
This commit is contained in:
7
sshrsa.c
7
sshrsa.c
@ -156,6 +156,13 @@ void rsastr_fmt(char *str, struct RSAKey *key) {
|
||||
str[len] = '\0';
|
||||
}
|
||||
|
||||
void freersakey(struct RSAKey *key) {
|
||||
if (key->modulus) freebn(key->modulus);
|
||||
if (key->exponent) freebn(key->exponent);
|
||||
if (key->private_exponent) freebn(key->private_exponent);
|
||||
if (key->comment) free(key->comment);
|
||||
}
|
||||
|
||||
#ifdef TESTMODE
|
||||
|
||||
#ifndef NODDY
|
||||
|
Reference in New Issue
Block a user