version 1.158, 2020/10/18 11:32:02 |
version 1.159, 2021/01/11 02:12:58 |
|
|
static int fingerprint_hash = SSH_FP_HASH_DEFAULT; |
static int fingerprint_hash = SSH_FP_HASH_DEFAULT; |
|
|
/* Default lifetime (0 == forever) */ |
/* Default lifetime (0 == forever) */ |
static long lifetime = 0; |
static int lifetime = 0; |
|
|
/* User has to confirm key use */ |
/* User has to confirm key use */ |
static int confirm = 0; |
static int confirm = 0; |
|
|
filename, comment); |
filename, comment); |
if (lifetime != 0) { |
if (lifetime != 0) { |
fprintf(stderr, |
fprintf(stderr, |
"Lifetime set to %ld seconds\n", lifetime); |
"Lifetime set to %d seconds\n", lifetime); |
} |
} |
if (confirm != 0) { |
if (confirm != 0) { |
fprintf(stderr, "The user must confirm " |
fprintf(stderr, "The user must confirm " |
|
|
fprintf(stderr, "Certificate added: %s (%s)\n", certpath, |
fprintf(stderr, "Certificate added: %s (%s)\n", certpath, |
private->cert->key_id); |
private->cert->key_id); |
if (lifetime != 0) { |
if (lifetime != 0) { |
fprintf(stderr, "Lifetime set to %ld seconds\n", |
fprintf(stderr, "Lifetime set to %d seconds\n", |
lifetime); |
lifetime); |
} |
} |
if (confirm != 0) { |
if (confirm != 0) { |
|
|
sshkey_type(keys[i]), fp); |
sshkey_type(keys[i]), fp); |
if (lifetime != 0) { |
if (lifetime != 0) { |
fprintf(stderr, |
fprintf(stderr, |
"Lifetime set to %ld seconds\n", lifetime); |
"Lifetime set to %d seconds\n", lifetime); |
} |
} |
if (confirm != 0) { |
if (confirm != 0) { |
fprintf(stderr, "The user must confirm " |
fprintf(stderr, "The user must confirm " |