version 1.32, 2001/04/18 23:44:51 |
version 1.33, 2001/05/16 20:51:57 |
|
|
lseek(fd, (off_t) 0, SEEK_SET); /* rewind */ |
lseek(fd, (off_t) 0, SEEK_SET); /* rewind */ |
if (pub == NULL) { |
if (pub == NULL) { |
/* closes fd */ |
/* closes fd */ |
return key_load_private_pem(fd, KEY_UNSPEC, passphrase, NULL); |
return key_load_private_pem(fd, KEY_UNSPEC, passphrase, |
|
commentp); |
} else { |
} else { |
/* it's a SSH v1 key if the public key part is readable */ |
/* it's a SSH v1 key if the public key part is readable */ |
key_free(pub); |
key_free(pub); |