mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix a false-positive in coverity scan with an assertion
CID 1301373
This commit is contained in:
@@ -295,6 +295,7 @@ ed_key_init_from_file(const char *fname, uint32_t flags,
|
||||
if (rv == 0) {
|
||||
have_secret = 1;
|
||||
loaded_secret_fname = secret_fname;
|
||||
tor_assert(got_tag);
|
||||
} else {
|
||||
if (errno != ENOENT && norepair) {
|
||||
tor_log(severity, LD_OR, "Unable to read %s: %s", secret_fname,
|
||||
|
||||
Reference in New Issue
Block a user