aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-basic-utils/src/rand_hostname.rs
Commit message (Collapse)AuthorAgeFilesLines
* tor-basic-utils: don't include '-' in random hostnamesSteven Engler2026-06-291-2/+5
|
* maint: Run maint/add_warning to deny string slicesClara Engler2026-06-091-0/+1
| | | | | | | | | | | | This commit executes maint/add_warning with the just added change to deny string slices except in tests. I recommend auditing this by checking out the previous commit followed by running the script yourself and then verifying that the diff is identical to this commit. This commit makes cargo clippy fail. We will add exceptions in the next commit.
* Fix name of clippy lint to unchecked_time_subtraction (2)Ian Jackson2025-11-061-1/+1
| | | | Run maint/add_warning
* tor-basic-utils: New function to generate random hostname.Nick Mathewson2025-10-071-0/+80
We'll be using this for x509 certificates in #2197. We might also use it for SNI/ESNI as in !198.