Displaying 1 result from an estimated 1 matches for "load_private_key_rsa1".
Did you mean:
load_private_key_dsa
2001 Feb 21
0
Private key files closed twice --
=====
I believe that each private key file read is closed twice as
load_private_key(filename, ...)
fd = open(filename, ...)
...
load_private_key_rsa1(fd, ...)
...
load_private_key_ssh2(fd, ...)
...
close(fd);
Unfortunately, "load_private_key_rsa1" and "load_private_key_ssh2" also
close the file. It would simplest to remove the `close()'s in the rsa2
and ssh2 routines except that the ssh2 routine converts the file
de...