version 1.56, 2002/06/10 16:53:06 |
version 1.57, 2003/04/08 20:21:28 |
|
|
secure_filename(f, file, pw, line, sizeof(line)) != 0) { |
secure_filename(f, file, pw, line, sizeof(line)) != 0) { |
xfree(file); |
xfree(file); |
fclose(f); |
fclose(f); |
log("Authentication refused: %s", line); |
logit("Authentication refused: %s", line); |
restore_uid(); |
restore_uid(); |
return (0); |
return (0); |
} |
} |
|
|
|
|
/* check the real bits */ |
/* check the real bits */ |
if (bits != BN_num_bits(key->rsa->n)) |
if (bits != BN_num_bits(key->rsa->n)) |
log("Warning: %s, line %lu: keysize mismatch: " |
logit("Warning: %s, line %lu: keysize mismatch: " |
"actual %d vs. announced %d.", |
"actual %d vs. announced %d.", |
file, linenum, BN_num_bits(key->rsa->n), bits); |
file, linenum, BN_num_bits(key->rsa->n), bits); |
|
|