mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
fd7e9e9030
Instead, generate new keys, and overwrite the empty key files. Adds FN_EMPTY to file_status_t and file_status. Fixes bug 13111. Related changes due to review of FN_FILE usage: Stop generating a fresh .old RSA key file when the .old file is missing. Avoid overwriting .old key files with empty key files. Skip loading zero-length extra info store, router store, stats, state, and key files.
18 lines
742 B
Plaintext
18 lines
742 B
Plaintext
o Minor bugfixes
|
|
- Stop failing when key files are zero-length. Instead, generate new
|
|
keys, and overwrite the empty key files.
|
|
Fixes bug 13111.
|
|
- Stop generating a fresh .old RSA key file when the .old file is missing.
|
|
Fixed as part of bug 13111.
|
|
- Avoid overwriting .old key files with empty key files.
|
|
Fixed as part of bug 13111.
|
|
- Stop crashing when a NULL filename is passed to file_status().
|
|
Fixed as part of bug 13111.
|
|
|
|
o Minor enhancements:
|
|
- Skip loading zero-length extra info store, router store, stats, state,
|
|
and key files.
|
|
Implemented with bug 13111.
|
|
- Return FN_ERROR when a zero-length filename is passed to file_status().
|
|
Fixed as part of bug 13111.
|