version 1.31, 2001/03/26 08:07:08 |
version 1.32, 2001/04/08 13:03:00 |
|
|
delete_file(AuthenticationConnection *ac, const char *filename) |
delete_file(AuthenticationConnection *ac, const char *filename) |
{ |
{ |
Key *public; |
Key *public; |
char *comment; |
char *comment = NULL; |
|
|
public = key_load_public(filename, &comment); |
public = key_load_public(filename, &comment); |
if (public == NULL) { |
if (public == NULL) { |
|
|
{ |
{ |
struct stat st; |
struct stat st; |
Key *private; |
Key *private; |
char *comment, *askpass = NULL, *pass; |
char *comment = NULL, *askpass = NULL, *pass; |
char buf[1024], msg[1024]; |
char buf[1024], msg[1024]; |
int interactive = isatty(STDIN_FILENO); |
int interactive = isatty(STDIN_FILENO); |
|
|