Remove confusing error message for failed reading in ECDSA keys.
Most likeley the error is that there just is no valid key inside the used host file, and in this case errno just contains a random value from the last previously failed call.
This commit is contained in:
parent
a5bb6d40fb
commit
8792b9a9f3
1 changed files with 2 additions and 2 deletions
|
@ -125,7 +125,7 @@ bool read_ecdsa_public_key(connection_t *c) {
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
|
|
||||||
if(!result)
|
if(!result)
|
||||||
logger(DEBUG_ALWAYS, LOG_ERR, "Reading ECDSA public key file `%s' failed: %s", fname, strerror(errno));
|
logger(DEBUG_ALWAYS, LOG_ERR, "Parsing ECDSA public key file `%s' failed.", fname);
|
||||||
free(fname);
|
free(fname);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue